File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -49434,12 +49434,12 @@ async function run() {
49434
49434
exportRegion(region);
49435
49435
49436
49436
// This wraps the logic for deciding if we should rely on the GH OIDC provider since we may need to reference
49437
- // the decision in a few differennt places. Consolidating it here makes the logic clearer elsewhere.
49437
+ // the decision in a few different places. Consolidating it here makes the logic clearer elsewhere.
49438
49438
const useGitHubOIDCProvider = () => {
49439
49439
// The assumption here is that self-hosted runners won't be populating the `ACTIONS_ID_TOKEN_REQUEST_TOKEN`
49440
- // environment variable and they won't be providing a web idenity token file or access key either.
49440
+ // environment variable, and they won't be providing a web identity token file or access key either.
49441
49441
// V2 of the action might relax this a bit and create an explicit precedence for these so that customers
49442
- // can provide as much info as they want and we will follow the established credential loading precedence.
49442
+ // can provide as much info as they want, and we will follow the established credential loading precedence.
49443
49443
49444
49444
return roleToAssume && process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN && !accessKeyId && !webIdentityTokenFile && !roleChaining
49445
49445
}
Original file line number Diff line number Diff line change @@ -318,12 +318,12 @@ async function run() {
318
318
exportRegion ( region ) ;
319
319
320
320
// This wraps the logic for deciding if we should rely on the GH OIDC provider since we may need to reference
321
- // the decision in a few differennt places. Consolidating it here makes the logic clearer elsewhere.
321
+ // the decision in a few different places. Consolidating it here makes the logic clearer elsewhere.
322
322
const useGitHubOIDCProvider = ( ) => {
323
323
// The assumption here is that self-hosted runners won't be populating the `ACTIONS_ID_TOKEN_REQUEST_TOKEN`
324
- // environment variable and they won't be providing a web idenity token file or access key either.
324
+ // environment variable, and they won't be providing a web identity token file or access key either.
325
325
// V2 of the action might relax this a bit and create an explicit precedence for these so that customers
326
- // can provide as much info as they want and we will follow the established credential loading precedence.
326
+ // can provide as much info as they want, and we will follow the established credential loading precedence.
327
327
328
328
return roleToAssume && process . env . ACTIONS_ID_TOKEN_REQUEST_TOKEN && ! accessKeyId && ! webIdentityTokenFile && ! roleChaining
329
329
}
You can’t perform that action at this time.
0 commit comments