Skip to content

Commit bd5ed44

Browse files
committed
ci: run release on github-hosted runner for npm provenance
OIDC trusted publishing auto-generates provenance attestations, which npm only accepts from github-hosted runners — Blacksmith (self-hosted) runners are rejected with E422 ("Unsupported GitHub Actions runner environment: self-hosted"). Move the release job to ubuntu-latest so publishing succeeds with provenance. Release runs are infrequent, so losing Blacksmith build speed here is an acceptable trade for signed provenance.
1 parent 9467377 commit bd5ed44

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
1717
jobs:
1818
release:
1919
name: Release
20-
runs-on: blacksmith-4vcpu-ubuntu-2404
20+
# GitHub-hosted (not Blacksmith): npm provenance attestations, which are
21+
# generated automatically by OIDC trusted publishing, are only accepted
22+
# from github-hosted runners — self-hosted runners are rejected with E422.
23+
runs-on: ubuntu-latest
2124
steps:
2225
- name: Checkout Repo
2326
uses: actions/checkout@v6

0 commit comments

Comments
 (0)