diff --git a/.github/workflows/fossa-caos.yml b/.github/workflows/fossa-caos.yml index efcbdfe..97e9fa9 100644 --- a/.github/workflows/fossa-caos.yml +++ b/.github/workflows/fossa-caos.yml @@ -13,7 +13,7 @@ jobs: FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}} ORG: ${{ github.repository_owner }} REPO: ${{ github.repository }} - ORG_ADMIN_PAT: ${{ secrets.ELAGUERTA_PAT }} + CUSTOM_PROPS_PAT: ${{ secrets.FOSSA_PAT }} strategy: fail-fast: false @@ -52,7 +52,7 @@ jobs: curl -L \ -X PATCH \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer $ORG_ADMIN_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 $ORG_ADMIN_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 }}"'"}]}' diff --git a/.github/workflows/fossa-default.yml b/.github/workflows/fossa-default.yml index 0d89936..20e8bb6 100644 --- a/.github/workflows/fossa-default.yml +++ b/.github/workflows/fossa-default.yml @@ -13,7 +13,7 @@ jobs: FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}} ORG: ${{ github.repository_owner }} REPO: ${{ github.repository }} - ORG_ADMIN_PAT: ${{ secrets.ELAGUERTA_PAT }} + CUSTOM_PROPS_PAT: ${{ secrets.FOSSA_PAT }} strategy: fail-fast: false @@ -48,7 +48,7 @@ jobs: curl -L \ -X PATCH \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer $ORG_ADMIN_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 }}"'"}]}' @@ -73,7 +73,7 @@ jobs: curl -L \ -X PATCH \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer $ORG_ADMIN_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 }}"'"}]}' diff --git a/.github/workflows/fossa-elixir.yml b/.github/workflows/fossa-elixir.yml index d72e58d..472081b 100644 --- a/.github/workflows/fossa-elixir.yml +++ b/.github/workflows/fossa-elixir.yml @@ -13,7 +13,7 @@ jobs: FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}} ORG: ${{ github.repository_owner }} REPO: ${{ github.repository }} - ORG_ADMIN_PAT: ${{ secrets.ELAGUERTA_PAT }} + CUSTOM_PROPS_PAT: ${{ secrets.FOSSA_PAT }} strategy: fail-fast: false @@ -52,7 +52,7 @@ jobs: curl -L \ -X PATCH \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer $ORG_ADMIN_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 $ORG_ADMIN_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 }}"'"}]}' diff --git a/.github/workflows/fossa-gradle.yml b/.github/workflows/fossa-gradle.yml index e5eb3de..0d55ad4 100644 --- a/.github/workflows/fossa-gradle.yml +++ b/.github/workflows/fossa-gradle.yml @@ -13,7 +13,7 @@ jobs: FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}} ORG: ${{ github.repository_owner }} REPO: ${{ github.repository }} - ORG_ADMIN_PAT: ${{ secrets.ELAGUERTA_PAT }} + CUSTOM_PROPS_PAT: ${{ secrets.FOSSA_PAT }} strategy: fail-fast: false @@ -71,7 +71,7 @@ jobs: curl -L \ -X PATCH \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer $ORG_ADMIN_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 }}"'"}]}' @@ -96,7 +96,7 @@ jobs: curl -L \ -X PATCH \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer $ORG_ADMIN_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 }}"'"}]}' diff --git a/.github/workflows/fossa-ruby-bundler.yml b/.github/workflows/fossa-ruby-bundler.yml index 780b003..ef14991 100644 --- a/.github/workflows/fossa-ruby-bundler.yml +++ b/.github/workflows/fossa-ruby-bundler.yml @@ -13,7 +13,7 @@ jobs: FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}} ORG: ${{ github.repository_owner }} REPO: ${{ github.repository }} - ORG_ADMIN_PAT: ${{ secrets.ELAGUERTA_PAT }} + CUSTOM_PROPS_PAT: ${{ secrets.FOSSA_PAT }} strategy: fail-fast: false @@ -51,7 +51,7 @@ jobs: curl -L \ -X PATCH \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer $ORG_ADMIN_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 }}"'"}]}' @@ -76,7 +76,7 @@ jobs: curl -L \ -X PATCH \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer $ORG_ADMIN_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 }}"'"}]}' diff --git a/.github/workflows/fossa-scala.yml b/.github/workflows/fossa-scala.yml index 6651378..42f899f 100644 --- a/.github/workflows/fossa-scala.yml +++ b/.github/workflows/fossa-scala.yml @@ -13,7 +13,7 @@ jobs: FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}} ORG: ${{ github.repository_owner }} REPO: ${{ github.repository }} - ORG_ADMIN_PAT: ${{ secrets.ELAGUERTA_PAT }} + CUSTOM_PROPS_PAT: ${{ secrets.FOSSA_PAT }} strategy: fail-fast: false @@ -53,7 +53,7 @@ jobs: curl -L \ -X PATCH \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer $ORG_ADMIN_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 }}"'"}]}' @@ -78,7 +78,7 @@ jobs: curl -L \ -X PATCH \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer $ORG_ADMIN_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 }}"'"}]}'