Update token for BCR release to reuse existing BOT_ACCESS_TOKEN used for staleness_refresh.yml and update_php_repo.yml PiperOrigin-RevId: 817747389
diff --git a/.github/workflows/publish_to_bcr.yaml b/.github/workflows/publish_to_bcr.yaml index d20dc19..84fdbb8 100644 --- a/.github/workflows/publish_to_bcr.yaml +++ b/.github/workflows/publish_to_bcr.yaml
@@ -10,7 +10,7 @@ type: string secrets: # This token should be owned by https://github.com/protobuf-team-bot - BCR_PUBLISH_TOKEN: + BOT_ACCESS_TOKEN: required: true # In case of problems, let release engineers retry by manually dispatching # the workflow from the GitHub UI @@ -33,4 +33,4 @@ id-token: write secrets: # Necessary to push to the BCR fork, and to open a pull request against a registry - publish_token: ${{ secrets.BCR_PUBLISH_TOKEN }} + publish_token: ${{ secrets.BOT_ACCESS_TOKEN }}
diff --git a/.github/workflows/release_bazel_module.yaml b/.github/workflows/release_bazel_module.yaml index 86e8889..d0e1863 100644 --- a/.github/workflows/release_bazel_module.yaml +++ b/.github/workflows/release_bazel_module.yaml
@@ -30,4 +30,4 @@ with: tag_name: ${{ inputs.tag_name }} secrets: - BCR_PUBLISH_TOKEN: ${{ secrets.BCR_PUBLISH_TOKEN }} + BOT_ACCESS_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }}