Skip to content

Commit c4cafbf

Browse files
authored
fix(ci): use PAT for release-please to trigger CI on its PRs (#1021)
GitHub prevents events created by GITHUB_TOKEN from triggering other workflows, so CI checks never run on release-please PRs. Switch to RP_TOKEN (fine-grained PAT) to fix this.
1 parent 1451b85 commit c4cafbf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: googleapis/release-please-action@v4
2020
id: release
2121
with:
22-
token: ${{ secrets.GITHUB_TOKEN }}
22+
token: ${{ secrets.RP_TOKEN }}
2323
target-branch: main
2424
config-file: .github/release-please-config.json
2525
manifest-file: .github/release-please-manifest.json

0 commit comments

Comments
 (0)