From bbc95f320f868103281b74dbb2ed0424817f5060 Mon Sep 17 00:00:00 2001 From: Adam Moussa Date: Thu, 24 Sep 2026 19:12:45 -0400 Subject: [PATCH] fix(ci): run the static check after the legacy ci job Both jobs call ci-static, which cancels the other in-progress run on the same ref, so ci-complete never saw both succeed. --- .github/workflows/ci.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index edd54c2..b7bacf8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,9 +32,11 @@ jobs: build-command: "npx @11ty/eleventy" check-dir: "_site" + # ci-static cancels other in-progress runs of this workflow on the same ref. + # Run after the legacy ci job so both calls can finish. static: - needs: autofix - if: always() && !cancelled() && (needs.autofix.result == 'skipped' || needs.autofix.outputs.committed != 'true') + needs: [autofix, ci] + if: always() && !cancelled() && needs.ci.result == 'success' && (needs.autofix.result == 'skipped' || needs.autofix.outputs.committed != 'true') uses: Sea-Haven-Industries/.github/.github/workflows/ci-static.yaml@74d3bfbdeb670654920b811c9b36f44e5f76d122 # v1.0.19 with: build-command: "npx @11ty/eleventy"