Skip to content

Commit 6306060

Browse files
Fix typos
1 parent d4dc8e7 commit 6306060

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

dist/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -49434,12 +49434,12 @@ async function run() {
4943449434
exportRegion(region);
4943549435

4943649436
// 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.
4943849438
const useGitHubOIDCProvider = () => {
4943949439
// 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.
4944149441
// 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.
4944349443

4944449444
return roleToAssume && process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN && !accessKeyId && !webIdentityTokenFile && !roleChaining
4944549445
}

index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -318,12 +318,12 @@ async function run() {
318318
exportRegion(region);
319319

320320
// 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.
322322
const useGitHubOIDCProvider = () => {
323323
// 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.
325325
// 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.
327327

328328
return roleToAssume && process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN && !accessKeyId && !webIdentityTokenFile && !roleChaining
329329
}

0 commit comments

Comments
 (0)