From 44cfe119901f9ee88c20568f08be22fc786d407f Mon Sep 17 00:00:00 2001 From: Samuel K Date: Thu, 12 Nov 2026 17:45:11 -0600 Subject: [PATCH] ci: run release jobs when the evidence check is skipped --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61434ff..0eab06e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -128,7 +128,7 @@ jobs: run: jq -e --arg release "$RELEASE_PR" 'all(to_entries[]; if .key == "release-evidence" and $release == "false" then .value.result == "skipped" else .value.result == "success" end)' <<< "$RESULTS" release-please: name: Release Please - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: ${{ always() && needs.ci-success.result == 'success' && github.event_name == 'push' && github.ref == 'refs/heads/main' }} needs: ci-success runs-on: ubuntu-latest timeout-minutes: 15 @@ -180,7 +180,7 @@ jobs: GH_REPO: ${{ github.repository }} RELEASE_PRS: ${{ steps.release.outputs.prs }} release-assets: - if: needs.release-please.outputs.created == 'true' + if: ${{ always() && needs.release-please.result == 'success' && needs.release-please.outputs.created == 'true' }} needs: release-please uses: ./.github/workflows/release.yml permissions: