Skip to content

Commit 79b8923

Browse files
wyf7107copybara-github
authored andcommitted
fix: Set persist-credentials to false in release-update-adk-web workflow
This resolves a "Duplicate header: Authorization" error (HTTP 400) when create-pull-request runs. actions/checkout@v6 persists credentials by default, which conflicts with the token used by create-pull-request. Co-authored-by: Yifan Wang <wanyif@google.com> PiperOrigin-RevId: 943548154
1 parent 28b7721 commit 79b8923

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Checkout repository
3939
uses: actions/checkout@v6
4040
with:
41-
token: ${{ secrets.RELEASE_PAT }}
41+
persist-credentials: false
4242

4343
- name: Fetch and unzip frontend assets
4444
run: |

0 commit comments

Comments
 (0)