Update weekly-e2e.yaml, add id-token write permission to fix authentication issue.

This commit is contained in:
lonegunmanb 2024-09-27 14:45:05 +08:00 committed by GitHub
parent 2533be9495
commit d412c1b1e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,7 @@ on:
permissions: permissions:
actions: write actions: write
contents: write contents: write
id-token: write
jobs: jobs:
full-e2e-check: full-e2e-check:
@ -38,4 +39,4 @@ jobs:
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
message: 'Update TestRecord' message: 'Update TestRecord'
branch: ${{ env.default_branch }} branch: ${{ env.default_branch }}