From 02e2c1d804c4e97449c35b771b8d23ef7e48966a Mon Sep 17 00:00:00 2001 From: Chris Bartholomew Date: Mon, 23 Nov 2026 10:49:25 -0500 Subject: [PATCH] fix(release): grant contents: write to PyPI and npm jobs The Create GitHub Release step in both jobs failed with 403 because the job-level permissions were contents: read, so py-* and node-* tags never got GitHub releases even though the packages published. Claude-Session: https://claude.ai/code/session_01XypsfKDtYZSmN3FFv6z5tN --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a036c8..fa5ef92 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/py-') permissions: id-token: write # Required for trusted publishing - contents: read + contents: write # Create GitHub Release step needs write steps: - uses: actions/checkout@v4 @@ -53,7 +53,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/node-') permissions: id-token: write # Required for OIDC trusted publishing - contents: read + contents: write # Create GitHub Release step needs write steps: - uses: actions/checkout@v4