From 9b9beafee3744bad546473447c223a243eab72b5 Mon Sep 17 00:00:00 2001 From: Alan Chester Date: Sun, 29 Mar 2026 16:23:43 -0400 Subject: [PATCH] fix: run release job when acceptance is skipped for pre-releases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When a workflow_call job is skipped via an if condition, GitHub does not automatically propagate skipped=ok to dependent jobs — they also get skipped. Fix: add an explicit if condition on the release job that allows it to run when acceptance was either successful (stable) or skipped (pre-release). Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 11efffd..783c40b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,9 @@ jobs: name: Create Release runs-on: ubuntu-latest needs: [validate, acceptance] + # Run if validate succeeded AND acceptance either succeeded or was skipped + # (acceptance is skipped for pre-release tags by design) + if: ${{ always() && needs.validate.result == 'success' && (needs.acceptance.result == 'success' || needs.acceptance.result == 'skipped') }} permissions: contents: write steps: