From 0d7376c733e81252d04a94f45faa0b90b4294cd1 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Fri, 17 Jul 2026 09:39:40 -0700 Subject: [PATCH] Fix WebAssembly Publish job by using the release environment (#10155) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `WebAssembly Publish` workflow was failing in the `Publish` step after a successful build/test pass. The failure was isolated to npm publication, indicating the job was not running with the intended release-scoped publish configuration. - **Workflow wiring** - Attach the `publish` job in `.github/workflows/wasm-release.yml` to the existing `release` environment. - Align the wasm npm publish path with the repository’s other release publishing jobs that already rely on environment-scoped release configuration. - **Effect** - Ensures the final `npm publish` step executes in the same release context as other artifact publication jobs. - Avoids publishing with default job context when release-specific configuration is required. ```yaml jobs: publish: name: Publish runs-on: ubuntu-latest environment: release ``` --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --- .github/workflows/wasm-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/wasm-release.yml b/.github/workflows/wasm-release.yml index 4b0bcebfb..9bed832a0 100644 --- a/.github/workflows/wasm-release.yml +++ b/.github/workflows/wasm-release.yml @@ -19,6 +19,7 @@ jobs: publish: name: Publish runs-on: ubuntu-latest + environment: release steps: - name: Checkout uses: actions/checkout@v7.0.0