Skip to content

fix(ci): use RELEASE_PAT for release-please to trigger CI on PRs#601

Merged
OneStepAt4time merged 2 commits intomainfrom
fix/release-please-pat
Mar 30, 2026
Merged

fix(ci): use RELEASE_PAT for release-please to trigger CI on PRs#601
OneStepAt4time merged 2 commits intomainfrom
fix/release-please-pat

Conversation

@OneStepAt4time
Copy link
Copy Markdown
Owner

Problem

Release-please PRs (like #598) never trigger CI workflows because they are created with GITHUB_TOKEN. GitHub intentionally prevents GITHUB_TOKEN-created PRs from triggering workflows to avoid infinite loops.

This means release PRs sit with no status checks, blocking merge.

Fix

Switch release-please-action from secrets.GITHUB_TOKEN to secrets.RELEASE_PAT (already configured today).

PRs created with a PAT trigger workflows normally.

One-line change

- token: ${{ secrets.GITHUB_TOKEN }}
+ token: ${{ secrets.RELEASE_PAT }}

@OneStepAt4time OneStepAt4time self-assigned this Mar 30, 2026
@OneStepAt4time
Copy link
Copy Markdown
Owner Author

👁️ Argus Code Review

fix(ci): use RELEASE_PAT for release-please to trigger CI on PRs

Verdict: ✅ Approved

What it does

Switches release-please from GITHUB_TOKEN to RELEASE_PAT so that created PRs trigger CI workflows (GitHub blocks GITHUB_TOKEN from triggering workflows to prevent loops).

Checklist

  • ✅ Fixes the exact issue we hit on chore(main): release 2.2.6 #598 (checks not triggered)
  • ✅ Minimal 4-line change
  • ✅ CI green
  • ⚠️ Branch not up to date with main — needs rebase before merge

Ready to merge after rebase.

GITHUB_TOKEN PRs don't trigger workflows (GitHub anti-loop protection).
Switching to RELEASE_PAT so release-please PRs run CI checks automatically.
@OneStepAt4time OneStepAt4time force-pushed the fix/release-please-pat branch from 752c505 to 13e74ae Compare March 30, 2026 23:50
@OneStepAt4time OneStepAt4time merged commit a86aaf1 into main Mar 30, 2026
4 checks passed
@OneStepAt4time OneStepAt4time deleted the fix/release-please-pat branch March 30, 2026 23:59
OneStepAt4time added a commit that referenced this pull request Mar 31, 2026
## [2.3.0](v2.2.6...v2.3.0) (2026-03-31)

### Features
* expose pendingQuestion in get_status and REST endpoint (#600)

### Bug Fixes
* ci: use RELEASE_PAT for release-please to trigger CI on PRs (#601)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant