Repository navigation
ci: restore the labeled trigger on PR release labels - #135
Conversation
GITHUB_TOKEN label writes never trigger workflows, so removing labeled saved nothing; it re-checks Release impact when breaking-change or compat is added by hand. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EQXdcx49Pi5uQErd6kDEKs
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Reviewed the single-commit diff to .github/workflows/pr-release-labels.yml.
- Restored
labeledtrigger —pull_request.typesis back to[opened, edited, reopened, labeled], so a hand-addedbreaking-changeorcompatlabel re-runs theRelease impactcheck.
Verified against scripts/label_pr_release.py: main() builds current from pr["labels"] in the event payload, which on a labeled event includes the newly added label, so the impact warning evaluates correctly. Labels the script writes with GITHUB_TOKEN do not trigger workflows, so there is no re-trigger loop. The script is advisory and always returns 0, and the job keeps minimal permissions with a pinned checkout, so the change adds no required-check or secret exposure concerns.
claude-sonnet-5-5 | 𝕏

Behavior
Follow-up to #133. That PR removed the
labeledtrigger fromPR release labelson the assumption that the workflow re-triggered on its own label writes. Labels written withGITHUB_TOKENnever trigger workflows, so the removal saved nothing and dropped theRelease impactre-check whenbreaking-changeorcompatis added by hand (finding from the Pullfrog review of the sibling boursedirect-sync PR). This restores the original trigger list.Release impact
None. CI only.
Verification
git diff origin/main~1 -- .github/workflows/pr-release-labels.ymlbefore ci: cut CI and review-bot cost; one PR per change #133types: [opened, edited, reopened, labeled].AI assistance
Prepared by Claude Code (Opus 5.5).
🤖 Generated with Claude Code
https://claude.ai/code/session_01EQXdcx49Pi5uQErd6kDEKs