29
29
stack-name : org-name/stack-name
30
30
env :
31
31
PULUMI_ACCESS_TOKEN : ${{ secrets.PULUMI_ACCESS_TOKEN }}
32
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Avoid GitHub rate limits (see below)
32
33
` ` `
33
34
34
35
This will check out the existing directory and run ` pulumi preview`.
@@ -41,8 +42,8 @@ The action can be configured with the following arguments:
41
42
values are `up` (update), `refresh`, `destroy` and `preview`.
42
43
43
44
- ` stack-name` (required) - The name of the stack that Pulumi will be operating
44
- on. Use the fully quaified org-name/stack-name when operating on a stack outside
45
- of your individual account.
45
+ on. Use the fully quaified org-name/stack-name when operating on a stack
46
+ outside of your individual account.
46
47
47
48
- ` work-dir` (optional) - The location of your Pulumi files. Defaults to `./`.
48
49
@@ -105,8 +106,8 @@ The action can be configured with the following arguments:
105
106
` Pulumi.<stack-name>.yaml` file that you will need to add back to source
106
107
control as part of the action if you wish to perform any further tasks with
107
108
that stack.
108
- - ` remove` - (optional) Removes the target stack if all resources are
109
- destroyed. Used only with `destroy` command.
109
+ - ` remove` - (optional) Removes the target stack if all resources are destroyed.
110
+ Used only with `destroy` command.
110
111
- ` pulumi-version` - (optional) Install a specific version of the Pulumi CLI.
111
112
Defaults to "^3"
112
113
@@ -115,6 +116,10 @@ By default, this action will try to authenticate Pulumi with the
115
116
` PULUMI_ACCESS_TOKEN` then you will need to specify an alternative backend via
116
117
the `cloud-url` argument.
117
118
119
+ If you are using any Pulumi plugins then you should also set the `GITHUB_TOKEN`
120
+ environment variable in order to avoid hitting GitHub rate limits. You can set
121
+ it to the default `${{ secrets.GITHUB_TOKEN }}`.
122
+
118
123
# ## Stack Outputs
119
124
120
125
[Stack outputs](https://www.pulumi.com/docs/intro/concepts/stack/#outputs) are
0 commit comments