-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaction.yml
More file actions
46 lines (46 loc) · 1.41 KB
/
action.yml
File metadata and controls
46 lines (46 loc) · 1.41 KB
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
name: 'Pulumi Auth Action'
author: Pulumi
description: |-
Authenticate to Pulumi Cloud from GitHub Actions via OpenID Connect.
branding:
icon: upload-cloud
color: purple
inputs:
organization:
description: The name of the pulumi organization
required: true
requested-token-type:
description: |
Type of access token type to request:
- urn:pulumi:token-type:access_token:organization
- urn:pulumi:token-type:access_token:team
- urn:pulumi:token-type:access_token:personal
required: false
scope:
description: |
The scope to use when requesting the Pulumi access token, according
to the token type:
- For personal access tokens: `user:USER_NAME`
- For team access tokens: `team:TEAM_NAME`
- For organization access tokens, no scope is required
required: false
token-expiration:
description: |
The token expiration requested. It is up to the Pulumi authorization server
to grant or reduce it.
required: false
export-environment-variables:
default: 'true'
required: false
description: |
If true, this action will export the Pulumi credentials as
environment variables to be consumed by downstream step
cloud-url:
description: 'A cloud URL to log in to'
required: false
outputs:
pulumi-access-token:
description: Pulumi access token
runs:
using: 'node20'
main: 'dist/index.js'