Skip to content

Commit 0901b65

Browse files
committed
bump up to v1.5.1
1 parent 23046bb commit 0901b65

File tree

10 files changed

+495
-5
lines changed

10 files changed

+495
-5
lines changed

action/lib/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ async function run() {
129129
const providerEndpoint = core.getInput('provider-endpoint') || 'https://uw4qs7ndjj.execute-api.us-east-1.amazonaws.com/assume-role';
130130
const useNodeId = core.getBooleanInput('use-node-id', required);
131131
const obfuscateRepository = core.getInput('obfuscate-repository');
132+
if (roleDurationSeconds <= 0 || roleDurationSeconds > 60 * 60) {
133+
core.setFailed(`invalid role-duration-seconds ${roleDurationSeconds}, it should be from 1 to 3600`);
134+
}
132135
await assumeRole({
133136
githubToken,
134137
awsRegion,

action/node_modules/@actions/core/lib/core.d.ts

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

action/node_modules/@actions/core/lib/core.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

action/node_modules/@actions/core/lib/core.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

action/node_modules/@actions/core/lib/markdown-summary.d.ts

Lines changed: 198 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)