Skip to content

Commit b8ff306

Browse files
dbrattliclaude
andauthored
fix: skip ShipIt PR creation on release commits to prevent loop (#46)
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>
1 parent 2348c92 commit b8ff306

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
shipit-pr:
1313
name: ShipIt - Pull Request
1414
runs-on: ubuntu-latest
15+
if: "!startsWith(github.event.head_commit.message, 'chore: release ')"
1516
timeout-minutes: 10
1617
steps:
1718
- name: Checkout code

0 commit comments

Comments
 (0)