-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
90 lines (83 loc) · 2.34 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: 'Authenticate to Alibaba Cloud'
description: |-
Authenticate to Alibaba Cloud with GitHub Actions OIDC tokens.
inputs:
audience:
description: |-
The value for the audience (aud) parameter in GitHub's generated OIDC
token.
default: 'actions.github.com'
required: false
region:
description: |-
Alibaba Cloud Region
default: 'ap-southeast-1'
required: false
role-arn-to-assume:
description: |-
Use the OIDC token to assume an RAM role.
required: true
oidc-provider-arn:
description: |-
The arn of OIDC provider.
required: true
role-duration-seconds:
description: |-
Role duration in seconds.
default: '3600'
required: false
role-session-name:
description: |-
Role session name
default: 'github-actions-<orgName>-<repoName>'
required: false
export-environment-variables:
description: |-
If true, the action will export common environment variables which are
known to be consumed by popular downstream libraries and tools, including:
- ALIBABA_CLOUD_ACCESS_KEY_ID
- ALICLOUD_ACCESS_KEY
- ALIBABACLOUD_ACCESS_KEY_ID
- ALICLOUD_ACCESS_KEY_ID
- ALIBABA_CLOUD_ACCESS_KEY_SECRET
- ALICLOUD_SECRET_KEY
- ALIBABACLOUD_ACCESS_KEY_SECRET
- ALICLOUD_ACCESS_KEY_SECRET
- ALIBABA_CLOUD_SECURITY_TOKEN
- ALICLOUD_ACCESS_KEY_STS_TOKEN
- ALIBABACLOUD_SECURITY_TOKEN
- ALICLOUD_SECURITY_TOKEN
If false, the action will not export any environment variables.
default: 'false'
required: false
set-outputs:
description: |-
If true, the action will set credentials as action outputs, including:
- access-key-id
- access-key-secret
- security-token
If false, the action will not set any action outputs.
default: 'false'
required: false
retries:
description: |-
Number of times to retry a failed authentication attempt.
default: '3'
required: false
outputs:
access-key-id:
description: |-
The Alibaba Cloud Access Key ID
access-key-secret:
description: |-
The Alibaba Cloud Access Key Secret
security-token:
description: |-
The Alibaba Cloud Security Token (STS Token)
branding:
icon: 'lock'
color: 'blue'
runs:
using: 'node20'
main: 'dist/index.js'
post: 'dist/post/index.js'