-
Notifications
You must be signed in to change notification settings - Fork 9
/
action.yml
49 lines (49 loc) · 1.39 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
name: Terraform Change PR Commenter v2
description: Parse changes from Terraform Plan JSON and post them for PR review
branding:
icon: "git-pull-request"
color: "green"
inputs:
json-file:
description: File location for the Terraform Plan JSON file
required: false
default: tfplan.json
github-token:
description: GitHub Token
required: false
default: "${{github.token}}"
expand-comment:
description: If true, expand the details comment by default
required: false
default: false
include-plan-job-summary:
description: If true, add the results of the plan to the workflow job summary
required: false
default: false
comment-header:
description: Header to use for the comment
required: false
default: "Terraform Plan Changes"
comment-footer:
description: Footer to use for the comment
required: false
default: ""
include-workflow-link:
description: If true, include a link to the workflow in the comment
required: false
default: false
quiet:
description: Skips the comment if there are no changes
required: false
default: false
hide-previous-comments:
description: Hides privious comments on the PR
required: false
default: false
log-changed-resources:
description: Log the changed resources in action output
required: false
default: "true"
runs:
using: node20
main: dist/index.js