forked from ahmadnassri/action-terraform-report
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
44 lines (35 loc) · 1.02 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
name: Terraform Pull Request Report Generator
description: Updates Pull Requests with visual diff of Terraform Plan changes
branding:
color: red
icon: search
inputs:
github-token:
description: The GitHub token used to post comments on pull requests
default: ${{ github.token }}
required: false
terraform-text:
description: path to Terraform Plan text output file
required: true
terraform-json:
description: path to Terraform Plan JSON output file
required: true
show-diff:
description: include the diff view in the final output?
default: "false"
required: false
show-plan:
description: include the terraform plan view in the final output?
default: "true"
required: false
remove-stale-reports:
description: remove report comments for old commits?
default: "false"
required: false
custom-header:
description: The header text for the github comment
default: ":robot: Terraform Report"
required: false
runs:
using: node16
main: dist/index.js