forked from borchero/terraform-plan-comment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
41 lines (41 loc) · 1.25 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
name: Terraform Plan Comment
description: Post the output of `terraform plan` to a pull request comment.
author: Oliver Borchert
branding:
icon: git-pull-request
color: purple
inputs:
token:
description: The token to use for authenticating against the GitHub API.
required: true
planfile:
description: The path to the planfile whose changes to post.
required: true
terraform-cmd:
description: The command to execute for calling the Terraform binary.
required: true
default: terraform
working-directory:
description: The directory where the Terraform binary should be called.
required: true
default: "."
header:
description: The header to use for the pull request comment.
required: true
default: 📝 Terraform Plan
skip-empty:
description: Whether to skip posting a pull request comment when no changes need to be performed.
required: true
default: "false"
skip-comment:
description: Whether to skip posting a pull request comment entirely.
required: true
default: "false"
outputs:
markdown:
description: The raw markdown output of the terraform plan
empty:
description: Whether the terraform plan contains any change or not
runs:
using: node20
main: dist/index.js