Skip to content

fix: skip ShipIt PR creation on release commits to prevent loop#46

Merged
dbrattli merged 1 commit intomainfrom
fix/shipit-release-loop
Mar 28, 2026
Merged

fix: skip ShipIt PR creation on release commits to prevent loop#46
dbrattli merged 1 commit intomainfrom
fix/shipit-release-loop

Conversation

@dbrattli
Copy link
Copy Markdown
Collaborator

Summary

  • Adds if: "!startsWith(github.event.head_commit.message, 'chore: release ')" to the shipit-pr job
  • Prevents the infinite loop where merging a release PR triggers another release PR (rc.18 → rc.19 → rc.20 → ...)

Test plan

  • Merge this PR and verify no new release PR is created from the merge commit
  • Push an actual feature commit and verify ShipIt still creates a release PR

🤖 Generated with Claude Code

When a release PR was merged, the shipit-pr job would run again on the
release commit, see it as a new change, and create another release PR
— repeating indefinitely. Adding the inverse condition of the release
job prevents this cycle.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dbrattli dbrattli merged commit b8ff306 into main Mar 28, 2026
2 checks passed
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