From 0e04edbc8ee8058f800d4ae90d39c38fb237433f Mon Sep 17 00:00:00 2001 From: Noah Santschi-Cooney Date: Thu, 11 Dec 2025 14:11:38 +0000 Subject: [PATCH] fix: add 'if' guard to prod publish pipeline and add 'skip ci' to release PR --- .github/workflows/publish.yml | 1 + .github/workflows/release.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f60350f..56d5fec 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -83,6 +83,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Read releasebranch.txt + if: github.event_name == 'workflow_run' id: releasebranch run: | echo "branch=$(cat releasebranch.txt)" >> "$GITHUB_OUTPUT" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 92f5962..e64fa3e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,8 +82,8 @@ jobs: - name: Create Pull Request for release + next version run: | gh pr create \ - --title "build: release ${{ steps.bump.outputs.version }}" \ - --body "build: release ${{ steps.bump.outputs.version }}" \ + --title "build: release ${{ steps.bump.outputs.version }} [skip ci]" \ + --body "build: release ${{ steps.bump.outputs.version }} [skip ci]" \ --base main \ --head "release/v${{ steps.bump.outputs.version }}" env: