Skip to content

Commit beaa847

Browse files
brianeggeclaude
andauthored
ci(release-please): use RELEASE_PLEASE_TOKEN PAT (#52)
PRs opened with the default GITHUB_TOKEN don't trigger other workflows (observed on #49: Pull actions stuck on action_required). Switching release-please and the auto-merge step to a fine-grained PAT makes the release PR a normal, user-authored PR so required checks run and auto-merge can actually fire. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 402474c commit beaa847

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release-please.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
- id: release
2121
uses: googleapis/release-please-action@v4
2222
with:
23+
# Fine-grained PAT so the release PR triggers other workflows
24+
# (GITHUB_TOKEN-authored PRs are blocked from triggering Actions).
25+
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
2326
config-file: release-please-config.json
2427
manifest-file: .release-please-manifest.json
2528

@@ -29,7 +32,7 @@ jobs:
2932
- name: Enable auto-merge on release PR (daily)
3033
if: github.event_name == 'schedule' && steps.release.outputs.pr != ''
3134
env:
32-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
GH_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }}
3336
PR_JSON: ${{ steps.release.outputs.pr }}
3437
run: |
3538
PR_NUMBER=$(echo "$PR_JSON" | jq -r '.number')

0 commit comments

Comments
 (0)