File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ A GitHub composite action for generating and posting a terraform plan to a pull
6
6
| Name | Description | Default | Required |
7
7
| ------| -------------| ---------| :--------:|
8
8
| debug | Enable ` tmate.io ` debugging if a failure occurs | ` false ` | No |
9
+ | save-artifact | Save terraform plan as artifact in Github Action | ` false ` | No |
9
10
10
11
## Outputs
11
12
Original file line number Diff line number Diff line change 8
8
GITHUB_TOKEN :
9
9
description : GitHub token for access to the pull request
10
10
required : true
11
+ save-artifact :
12
+ description : Save the terraform plan as an artifact (May contain sensitive data)
13
+ required : false
14
+ default : " false"
11
15
working-directory :
12
16
description : Working directory for the `run` actions
13
17
required : false
@@ -116,6 +120,7 @@ runs:
116
120
117
121
- name : Save Artifact
118
122
id : save-artifact
123
+ if : ${{ inputs.save-artifact == 'true' }}
119
124
uses : actions/upload-artifact@v4
120
125
with :
121
126
name : pr-${{ github.event.pull_request.number }}-${{ inputs.workflow-artifact-name }}
You can’t perform that action at this time.
0 commit comments