Skip to content

Commit 5c94828

Browse files
authored
Add provenance to GitLab OIDC example (#1800)
The GitLab OIDC example was missing the `SIGSTORE_ID_TOKEN`, which is needed for publishing provenance, also with OIDC. ## References Closes npm/cli#8558
1 parent 856d35d commit 5c94828

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/packages-and-modules/securing-your-code/trusted-publishers.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ publish:
131131
id_tokens:
132132
NPM_ID_TOKEN:
133133
aud: "npm:registry.npmjs.org"
134+
SIGSTORE_ID_TOKEN:
135+
aud: sigstore
134136
script:
135137
# Ensure npm 11.5.1 or later is installed
136138
- npm install -g npm@latest

0 commit comments

Comments
 (0)