-
Notifications
You must be signed in to change notification settings - Fork 73
/
action.yml
129 lines (129 loc) · 4.53 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
name: 'Pulumi CLI Action'
author: Pulumi
description: Pulumi's GitHub Actions deploy apps and infrastructure to your cloud of choice, using just your favorite language and GitHub.
branding:
icon: upload-cloud
color: purple
inputs:
command:
description: 'Pulumi command to run, eg. up'
required: false
stack-name:
description: 'Which stack you want to apply to, eg. dev'
required: false
pulumi-version:
description: 'Install a specific version of the Pulumi CLI'
required: false
pulumi-version-file:
description: 'File containing the version of the Pulumi CLI to install. Example: .pulumi.version'
required: false
work-dir:
description: 'Location of your Pulumi files. Defaults to ./'
required: false
default: ./
comment-on-pr:
description: 'If true, a comment will be created with results'
required: false
default: 'false'
comment-on-pr-number:
description: 'Overrides the PR used to comment on'
required: false
comment-on-summary:
description: 'If true, a comment on the GitHub step summary will be created'
required: false
default: 'false'
github-token:
description: 'Github Token'
required: false
default: ${{ github.token }}
cloud-url:
description: 'A cloud URL to log in to'
required: false
secrets-provider:
description: 'The type of the provider that should be used to encrypt and decrypt secrets. Possible choices: default, passphrase, awskms, azurekeyvault, gcpkms, hashivault'
required: false
parallel:
description: 'Allow P resource operations to run in parallel at once (1 for no parallelism). Defaults to unbounded.'
required: false
message:
description: 'Optional message to associate with the update operation'
required: false
config-map:
description: 'Config to use during the operations'
required: false
expect-no-changes:
description: 'Return an error if any changes occur during this update'
required: false
default: 'false'
diff:
description: 'Display operation as a rich diff showing the overall change'
required: false
default: 'false'
replace:
description: 'Specify resources to replace. Multiple resources can be specified one per line'
required: false
target:
description: 'Specify a single resource URN to update. Other resources will not be updated. Multiple resources can be specified one per line'
required: false
target-dependents:
description: 'Allows updating of dependent targets discovered but not specified in target.'
required: false
default: 'false'
policyPacks:
description: 'Run one or more policy packs as part of this update.'
required: false
policyPackConfigs:
description: 'Path to JSON file containing the config for the policy pack of the corresponding "--policy-pack" flag.'
required: false
refresh:
description: 'Execute the operation with the `--refresh` option'
required: false
default: 'false'
upsert:
description: 'Create the stack if it currently does not exist'
required: false
default: 'false'
remove:
description: 'Delete the stack after a destroy operation'
required: false
default: 'false'
edit-pr-comment:
description: 'Edit previous PR comment instead of posting new one'
required: false
default: 'true'
color:
description: 'Colorize output. Choices are: always, never, raw, auto'
required: false
default: 'auto'
exclude-protected:
description: 'Skip destroying protected resources. Only valid when command is destroy.'
required: false
default: 'false'
plan:
description: 'Where to either save an Update Plan or read an Update Plan from'
required: false
suppress-outputs:
description: 'Suppress display of stack outputs (in case they contain sensitive values).'
required: false
default: 'false'
suppress-progress:
description: 'Suppress display of periodic progress dots to limit logs length'
required: false
default: 'false'
always-include-summary:
description: 'If comments must be trimmed, trim them from the front. This ensures the resources summary is always included in the comment'
required: false
default: 'false'
outputs:
output:
description: Output from running command
runs:
# TODO upgrade to node16 by 1 Nov 2022.
#
# We will retain node12 requirement 6 months after its EOL (30 Apr
# 2022), unless something forces us to upgrade.
#
# Trying to upgrade in July 2022 broke our users that depend on
# GitHub Enterprise versions < 3.4
using: 'node20'
main: 'dist/index.js'