forked from terraform-linters/setup-tflint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
28 lines (28 loc) · 1.06 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
name: 'Setup TFLint'
description: 'Sets up tflint CLI in your GitHub Actions workflow'
inputs:
tflint_version:
description: TFLint version to install
required: false
default: latest
github_token:
description: GitHub token - used when getting the latest version of tflint
required: false
default: ${{ github.server_url == 'https://github.com' && github.token || '' }}
tflint_wrapper:
description: Installs a wrapper script to wrap subsequent calls to `tflint` and expose `stdout`, `stderr`, and `exitcode` outputs
default: 'false'
required: false
outputs:
stdout:
description: The output (stdout) produced by the tflint command. Only available if `tflint_wrapper` is set to `true`.
stderr:
description: The error output (stderr) produced by the tflint command. Only available if `tflint_wrapper` is set to `true`.
exitcode:
description: The exit code produced by the tflint command. Only available if `tflint_wrapper` is set to `true`.
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'terminal'
color: 'purple'