Skip to content

Commit b2ea6f7

Browse files
jdiegosierraclaude
andcommitted
ci: use PAT for release-please to trigger CI on release PRs
GITHUB_TOKEN events don't trigger workflows on PRs they create, so CI checks never run on release-please PRs. Switch to a PAT stored as RELEASE_PLEASE_TOKEN secret. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4e865b0 commit b2ea6f7

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ on:
55
branches:
66
- main
77

8-
permissions:
9-
contents: write
10-
pull-requests: write
11-
128
jobs:
139
release-please:
1410
name: Release Please
@@ -19,7 +15,7 @@ jobs:
1915
id: release
2016
uses: googleapis/release-please-action@v4
2117
with:
22-
token: ${{ secrets.GITHUB_TOKEN }}
18+
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
2319

2420
- name: Update floating major tag
2521
if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)