Skip to content

Commit cf4c99b

Browse files
authored
feat: enable release attestation through GitHub Actions (#1651)
1 parent f405eab commit cf4c99b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ jobs:
88
release:
99
name: Release
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write # to be able to publish a GitHub release
13+
issues: write # to be able to comment on released issues
14+
pull-requests: write # to be able to comment on released pull requests
15+
id-token: write # to enable use of OIDC for npm provenance
1116
steps:
1217
- uses: actions/[email protected]
1318

@@ -16,7 +21,8 @@ jobs:
1621
with:
1722
node-version: 18
1823
cache: 'npm'
19-
24+
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
25+
run: npm audit signatures
2026
- name: Tag latest release
2127
run: |
2228
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

0 commit comments

Comments
 (0)