From e7852b0c36db015ef35662d47474ab02393b8b3a Mon Sep 17 00:00:00 2001 From: Jeff Culverhouse Date: Tue, 23 Dec 2025 22:42:48 -0500 Subject: [PATCH] fix: skip release and docker jobs on pull requests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dependabot PRs were incorrectly triggering the docker build job. Now release and docker jobs only run on pushes to main, scheduled runs, and manual triggers. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/deploy.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index fd5f251..40016c7 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -59,6 +59,7 @@ jobs: name: Semantic Release runs-on: ubuntu-latest needs: [lint] + if: github.event_name != 'pull_request' outputs: published: ${{ steps.semrel.outputs.new_release_published }} version: ${{ steps.semrel.outputs.new_release_version }} @@ -101,7 +102,7 @@ jobs: docker: name: Build and Push Docker Image needs: [release] - if: needs.release.result == 'success' + if: github.event_name != 'pull_request' && needs.release.result == 'success' runs-on: ubuntu-latest env: RELEASE_VERSION: ${{ needs.release.outputs.version }}