Skip to content

Commit ab25ed0

Browse files
committed
ci: use PAT for release-please so its PRs pass required CI
1 parent 3ba7e63 commit ab25ed0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ jobs:
2121
- id: release
2222
uses: googleapis/release-please-action@v5
2323
with:
24+
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
2425
config-file: release-please-config.json
2526
manifest-file: .release-please-manifest.json
2627

2728
- if: ${{ steps.release.outputs.pr }}
2829
env:
29-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
GH_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }}
3031
REPO: ${{ github.repository }}
3132
WORKFLOW: ${{ github.workflow }}
3233
PR_JSON: ${{ steps.release.outputs.pr }}
@@ -55,6 +56,6 @@ jobs:
5556
# so the site would otherwise stay one release behind.
5657
- if: ${{ steps.release.outputs.release_created }}
5758
env:
58-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
GH_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }}
5960
REPO: ${{ github.repository }}
6061
run: gh workflow run deploy.yml -R "$REPO" --ref main

0 commit comments

Comments
 (0)