From 47eb74d2164492c3d499957f2f0161db3e5ec7c6 Mon Sep 17 00:00:00 2001 From: Keith Miller Date: Tue, 11 Aug 2026 11:56:01 -0400 Subject: [PATCH] [ci] Fix spec publishing in forks publish-spec lists ensure-wasm-latest in its needs, but that job only ran in WebAssembly/spec. A job whose needs include a skipped job is skipped as well, so forks (i.e. proposal repos) stopped publishing their rendered spec to GitHub Pages once they picked up the ensure-wasm-latest job. Gate the wasm-latest check per step instead of per job, so the job runs and succeeds everywhere and nothing cascades. A failing check still blocks publication in WebAssembly/spec, since publish-spec continues to depend on the job. --- .github/workflows/ci-spec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-spec.yml b/.github/workflows/ci-spec.yml index 53a50ef56c..0b27fd7eb8 100644 --- a/.github/workflows/ci-spec.yml +++ b/.github/workflows/ci-spec.yml @@ -14,12 +14,12 @@ on: jobs: ensure-wasm-latest: - if: ${{ github.repository == 'WebAssembly/spec' }} runs-on: ubuntu-latest steps: - name: Checkout repo uses: actions/checkout@v4 - name: Diff wasm-latest + if: ${{ github.repository == 'WebAssembly/spec' }} run: cd specification && bash diff-wasm-latest.sh build-core-spec: