Skip to content

Commit

Permalink
chore: update release workflow (#4292)
Browse files Browse the repository at this point in the history
Co-authored-by: Blake Li <blakeli@google.com>
  • Loading branch information
mpeddada1 and blakeli0 committed Aug 14, 2024
1 parent 18d5c77 commit 45610ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/jib-cli-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ jobs:
uses: repo-sync/pull-request@v2.12.1
id: create-pr
with:
# Use a personal token to file a PR as a non-bot author to trigger other workflows (e.g., unit tests):
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token;
github_token: ${{ secrets.GA_RELEASE_PR_PERSONAL_TOKEN }}
github_token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}
source_branch: cli-release-v${{ github.event.inputs.release_version }}
pr_title: "CLI release v${{ github.event.inputs.release_version }}"
pr_body: "To be merged after the release is complete."
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,7 @@ jobs:
uses: repo-sync/pull-request@v2.12.1
id: create-pr
with:
# Use a personal token to file a PR to trigger other workflows (e.g., unit tests).
# Save your access token as GA_RELEASE_PR_PERSONAL_TOKEN.
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token
# https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets
github_token: ${{ secrets.GA_RELEASE_PR_PERSONAL_TOKEN }}
github_token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}
source_branch: ${{ github.event.inputs.project }}-release-v${{ github.event.inputs.release_version }}
pr_title: "${{ github.event.inputs.project }} release v${{ github.event.inputs.release_version }}"
pr_body: "To be merged after the release is complete."
Expand Down

0 comments on commit 45610ea

Please sign in to comment.