Skip to content

Commit 9b72e83

Browse files
committed
fix: enable npm provenance with OIDC trusted publishing
- Added OIDC comment documentation to workflow - Prepares for signed npm packages with provenance
1 parent 0459d26 commit 9b72e83

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/semantic-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,18 @@ on:
55
branches:
66
- main
77

8+
# OIDC Trusted Publishing - No npm tokens needed!
9+
# npm trusts GitHub Actions directly via OIDC
10+
# See: https://docs.npmjs.com/generating-provenance-statements
11+
812
jobs:
913
release:
1014
runs-on: ubuntu-latest
1115
permissions:
1216
contents: write
1317
issues: write
1418
pull-requests: write
15-
id-token: write # Required for npm provenance
19+
id-token: write # Required for OIDC trusted publishing
1620

1721
steps:
1822
- name: Checkout

0 commit comments

Comments
 (0)