From df51166711d98fe70e1727668538b8ae0c835d31 Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" <219766164+opencode-agent[bot]@users.noreply.github.com> Date: Tue, 29 Sep 2026 16:22:16 -0500 Subject: [PATCH] fix(ci): run V2 Discord notification after skipped build jobs (#52012) Co-authored-by: rekram1-node --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cba17cdfde1..e91d38b6acc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -662,7 +662,7 @@ jobs: needs: - version - publish - if: github.repository == 'anomalyco/opencode' && github.ref_name == 'v2' && needs.version.outputs.release && needs.publish.result == 'success' + if: ${{ !cancelled() && github.repository == 'anomalyco/opencode' && github.ref_name == 'v2' && needs.version.outputs.release && needs.publish.result == 'success' }} runs-on: blacksmith-4vcpu-ubuntu-2404 steps: # Unlike dev, V2 publishes a tag rather than a GitHub Release event.