Skip to content

Commit 28b7721

Browse files
wyf7107copybara-github
authored andcommitted
fix: Use RELEASE_PAT for checkout in release-update-adk-web workflow
This resolves a token conflict where actions/checkout persisted the default GITHUB_TOKEN, causing subsequent git push operations by create-pull-request (which uses RELEASE_PAT) to fail with a 400 Bad Request. Co-authored-by: Yifan Wang <wanyif@google.com> PiperOrigin-RevId: 943541293
1 parent 8b011f9 commit 28b7721

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release-update-adk-web.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
steps:
3838
- name: Checkout repository
3939
uses: actions/checkout@v6
40+
with:
41+
token: ${{ secrets.RELEASE_PAT }}
4042

4143
- name: Fetch and unzip frontend assets
4244
run: |

0 commit comments

Comments
 (0)