Skip to content

Commit

Permalink
bump up to v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed Jul 8, 2021
1 parent 5de9d2c commit 260d35a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion action/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ async function assumeRole(params) {
duration_seconds: params.roleDurationSeconds,
api_url: GITHUB_API_URL,
repository: GITHUB_REPOSITORY,
useNodeId: params.useNodeId,
obfuscate_repository: params.obfuscateRepository,
sha: GITHUB_SHA,
role_session_tagging: params.roleSessionTagging,
Expand Down Expand Up @@ -110,7 +111,8 @@ async function run() {
const roleSessionName = core.getInput('role-session-name', required);
const roleSessionTagging = core.getBooleanInput('role-session-tagging', required);
const providerEndpoint = core.getInput('provider-endpoint') || 'https://uw4qs7ndjj.execute-api.us-east-1.amazonaws.com/assume-role';
const obfuscateRepository = core.getInput('obfuscate-repository', required);
const useNodeId = core.getBooleanInput('use-node-id', required);
const obfuscateRepository = core.getInput('obfuscate-repository');
await assumeRole({
githubToken,
awsRegion,
Expand All @@ -119,6 +121,7 @@ async function run() {
roleSessionName,
roleSessionTagging,
providerEndpoint,
useNodeId,
obfuscateRepository
});
}
Expand Down
4 changes: 2 additions & 2 deletions action/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion action/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "actions-aws-assume-role",
"version": "1.1.0",
"version": "1.2.0",
"description": "assume role in GitHub Actions",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit 260d35a

Please sign in to comment.