Skip to content

Commit 45610ea

Browse files
mpeddada1blakeli0
andauthored
chore: update release workflow (#4292)
Co-authored-by: Blake Li <blakeli@google.com>
1 parent 18d5c77 commit 45610ea

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/jib-cli-release.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ jobs:
5656
uses: repo-sync/pull-request@v2.12.1
5757
id: create-pr
5858
with:
59-
# Use a personal token to file a PR as a non-bot author to trigger other workflows (e.g., unit tests):
60-
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token;
61-
github_token: ${{ secrets.GA_RELEASE_PR_PERSONAL_TOKEN }}
59+
github_token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}
6260
source_branch: cli-release-v${{ github.event.inputs.release_version }}
6361
pr_title: "CLI release v${{ github.event.inputs.release_version }}"
6462
pr_body: "To be merged after the release is complete."

.github/workflows/prepare-release.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,7 @@ jobs:
6262
uses: repo-sync/pull-request@v2.12.1
6363
id: create-pr
6464
with:
65-
# Use a personal token to file a PR to trigger other workflows (e.g., unit tests).
66-
# Save your access token as GA_RELEASE_PR_PERSONAL_TOKEN.
67-
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token
68-
# https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets
69-
github_token: ${{ secrets.GA_RELEASE_PR_PERSONAL_TOKEN }}
65+
github_token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}
7066
source_branch: ${{ github.event.inputs.project }}-release-v${{ github.event.inputs.release_version }}
7167
pr_title: "${{ github.event.inputs.project }} release v${{ github.event.inputs.release_version }}"
7268
pr_body: "To be merged after the release is complete."

0 commit comments

Comments
 (0)