From 16274669a594d02547cd35caec4f915e015990e9 Mon Sep 17 00:00:00 2001 From: Dag Brattli Date: Sat, 28 Mar 2026 15:31:03 +0100 Subject: [PATCH] fix: skip ShipIt PR creation on release commits to prevent loop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4f7ef87..be98e1a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,6 +12,7 @@ jobs: shipit-pr: name: ShipIt - Pull Request runs-on: ubuntu-latest + if: "!startsWith(github.event.head_commit.message, 'chore: release ')" timeout-minutes: 10 steps: - name: Checkout code