You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// See https://github.com/npm/cli/blob/7da8fdd3625dd5541af57052c90fe1eabb41eb96/lib/utils/oidc.js#L49-L67
8
+
// See https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers#adding-permissions-settings
9
+
validate: ()=>
10
+
process.env.GITHUB_ACTIONS
11
+
&&process.env.ACTIONS_ID_TOKEN_REQUEST_URL
12
+
&&process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN,
13
+
},
14
+
{
15
+
id: 'gitlab',
16
+
name: 'GitLab CI',
17
+
// See https://github.com/npm/cli/blob/7da8fdd3625dd5541af57052c90fe1eabb41eb96/lib/utils/oidc.js#L37-L47
0 commit comments