fix(ci): grant contents:write to npm publish job for SBOM attach (#3874)

Post-release v3.8.25 CI hotfix — SBOM attach needs contents:write.
This commit is contained in:
Diego Rodrigues de Sa e Souza
2026-06-15 04:17:19 -03:00
committed by GitHub
parent 35dbf0eea1
commit 4066a2ca31

View File

@@ -50,7 +50,7 @@ jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
contents: write # gh release upload (attach SBOM to the GitHub Release)
id-token: write # npm provenance
packages: write # publish to npm.pkg.github.com
steps: