mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-08-31 05:35:04 +09:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7fdbbb8968 | |||
| 3852440c21 | |||
| c16f89bdf4 |
@@ -600,8 +600,9 @@ claims ([1][gh-blog-oidc], [2][sub-claim-custom]).
|
|||||||
|
|
||||||
#### Immutable subject claims
|
#### Immutable subject claims
|
||||||
|
|
||||||
Repositories created on github.com on or after 15 July 2026, and older
|
Repositories created on github.com on or after 15 July 2026, older
|
||||||
repositories that have opted in, emit an [immutable `sub` claim][immutable-sub].
|
repositories that have opted in, and older repositories that have been renamed
|
||||||
|
since 15 July 2026, emit an [immutable `sub` claim][immutable-sub].
|
||||||
This claim appends the permanent numeric ID of the organization and of the
|
This claim appends the permanent numeric ID of the organization and of the
|
||||||
repository after each name, separated by `@`, so that a recycled org or
|
repository after each name, separated by `@`, so that a recycled org or
|
||||||
repository name cannot be used to mint tokens matching a stale trust policy.
|
repository name cannot be used to mint tokens matching a stale trust policy.
|
||||||
|
|||||||
+1
-1
@@ -74845,11 +74845,11 @@ async function retryAndBackoff(fn, isRetryable, maxRetries = 12, retries = 0, ba
|
|||||||
info(
|
info(
|
||||||
`Retry${opName}: attempt ${nextRetry} of ${maxRetries} failed: ${errorMessage(err)}. Retrying after ${Math.floor(delay)}ms.`
|
`Retry${opName}: attempt ${nextRetry} of ${maxRetries} failed: ${errorMessage(err)}. Retrying after ${Math.floor(delay)}ms.`
|
||||||
);
|
);
|
||||||
await sleep2(delay);
|
|
||||||
if (nextRetry >= maxRetries) {
|
if (nextRetry >= maxRetries) {
|
||||||
info(`Retry${opName}: reached max retries (${maxRetries}); giving up.`);
|
info(`Retry${opName}: reached max retries (${maxRetries}); giving up.`);
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
|
await sleep2(delay);
|
||||||
return await retryAndBackoff(fn, isRetryable, maxRetries, nextRetry, base, label);
|
return await retryAndBackoff(fn, isRetryable, maxRetries, nextRetry, base, label);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -260,13 +260,13 @@ export async function retryAndBackoff<T>(
|
|||||||
`Retrying after ${Math.floor(delay)}ms.`,
|
`Retrying after ${Math.floor(delay)}ms.`,
|
||||||
);
|
);
|
||||||
|
|
||||||
await sleep(delay);
|
|
||||||
|
|
||||||
if (nextRetry >= maxRetries) {
|
if (nextRetry >= maxRetries) {
|
||||||
core.info(`Retry${opName}: reached max retries (${maxRetries}); giving up.`);
|
core.info(`Retry${opName}: reached max retries (${maxRetries}); giving up.`);
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await sleep(delay);
|
||||||
|
|
||||||
return await retryAndBackoff(fn, isRetryable, maxRetries, nextRetry, base, label);
|
return await retryAndBackoff(fn, isRetryable, maxRetries, nextRetry, base, label);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user