diff --git a/.github/workflows/fossa-caos.yml b/.github/workflows/fossa-caos.yml index 84617ed..97e9fa9 100644 --- a/.github/workflows/fossa-caos.yml +++ b/.github/workflows/fossa-caos.yml @@ -52,7 +52,7 @@ jobs: curl -L \ -X PATCH \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer $FOSSA_PAT" \ + -H "Authorization: Bearer $CUSTOM_PROPS_PAT" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/orgs/$ORG/properties/values \ -d '{"repository_names":["'"${REPO##*/}"'"],"properties":[{"property_name":"hasFossaTargets","value":"'"${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS }}"'"}]}' @@ -77,7 +77,7 @@ jobs: curl -L \ -X PATCH \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer $FOSSA_PAT" \ + -H "Authorization: Bearer $CUSTOM_PROPS_PAT" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/orgs/$ORG/properties/values \ -d '{"repository_names":["'"${REPO##*/}"'"],"properties":[{"property_name":"fossaAnalyzeResult","value":"'"${{ steps.fossa-analyze.outputs.FOSSA_ANALYZE_RESULT }}"'"}]}'