Skip to content

fix: auto-trigger CI checks on release-please PR updates#24

Merged
GraysonCAdams merged 1 commit intomainfrom
fix/release-please-ci-trigger
Mar 1, 2026
Merged

fix: auto-trigger CI checks on release-please PR updates#24
GraysonCAdams merged 1 commit intomainfrom
fix/release-please-ci-trigger

Conversation

@GraysonCAdams
Copy link
Copy Markdown
Collaborator

Summary

  • Add a trigger-pr-checks job to the release workflow that closes and reopens the release-please PR after it's created/updated
  • This ensures the pull_request_target reopened event fires reliably, triggering CI and CodeQL checks
  • Without this, force-push synchronize events from GITHUB_TOKEN don't consistently trigger pull_request_target, leaving release PRs with no status checks and unable to merge

The ideal long-term fix is using a fine-grained PAT for release-please (noted in a comment), but this close/reopen approach works immediately without any external credential setup.

Test plan

  • Merge a feature PR to main and verify the release-please PR gets CI checks triggered automatically

When release-please updates its PR via GITHUB_TOKEN, the
pull_request_target synchronize event doesn't always fire.
Add a close/reopen step to the release workflow that ensures
the reopened event triggers CI checks reliably.
@GraysonCAdams GraysonCAdams merged commit c1a39a1 into main Mar 1, 2026
16 checks passed
@GraysonCAdams GraysonCAdams deleted the fix/release-please-ci-trigger branch March 1, 2026 14:43
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