Skip to content

Commit 05f040c

Browse files
committed
change default value of role-session-name to github-actions-<orgName>-<repoName>
1 parent 9867af3 commit 05f040c

File tree

12 files changed

+19229
-3993
lines changed

12 files changed

+19229
-3993
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# alibabacloud-oidc-auth
22

3-
GitHub Action for authenticating to Alibaba Cloud with GitHub Actions OIDC tokens.
3+
GitHub Action for authenticating to Alibaba Cloud with [GitHub Actions OIDC tokens](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect).
44

55
## Inputs
66

@@ -11,11 +11,13 @@ GitHub Action for authenticating to Alibaba Cloud with GitHub Actions OIDC token
1111
* `audience`: (Optional) The audience (aud) parameter in GitHub's generated OIDC
1212
token. The default value is: `actions.github.com`
1313
* `role-duration-seconds`: (Optional) The validity period of the STS token. The default value is: `3600`
14-
* `role-session-name`: (Optional) The custom name of the role session. The default value is: `github-action`
14+
* `role-session-name`: (Optional) The custom name of the role session. The default value is: `github-actions-<orgName>-<repoName>`
1515
* `region`: (Optional) The region id of STS endpoint. The default value is: `ap-southeast-1`
1616

1717
## Outputs
1818

19+
Only available when `set-outputs` is `true`.
20+
1921
* `access-key-id`: (Optional) The AccessKey ID.
2022
* `access-key-secret`: (Optional) The AccessKey secret.
2123
* `security-token`: (Optional) The STS token.

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ inputs:
2929
role-session-name:
3030
description: |-
3131
Role session name
32-
default: 'github-action'
32+
default: 'github-actions-<orgName>-<repoName>'
3333
required: false
3434
export-environment-variables:
3535
description: |-

dist/LICENSE

Lines changed: 552 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)