forked from robburger/terraform-pr-commenter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
28 lines (28 loc) · 836 Bytes
/
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
name: 'Terraform PR Commenter (Jimdo)'
description: 'Adds opinionated comments to a PR from Terraform fmt/init/plan output'
author: 'Jimdo'
branding:
icon: 'git-pull-request'
color: 'purple'
inputs:
commenter_type:
description: 'The type of comment. Options: [fmt, init, plan]'
required: true
commenter_input:
description: 'The comment to post from a previous step output'
required: true
commenter_exitcode:
description: 'The exit code from a previous step output'
required: true
commenter_comment:
description: 'An optional comment to add to the headline.'
required: false
default: ''
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.commenter_type }}
- ${{ inputs.commenter_input }}
- ${{ inputs.commenter_exitcode }}
- ${{ inputs.commenter_comment }}