| github_token | GITHUB_TOKEN | yes | ${{ github.token }} |
| level | Report level for reviewdog [info,warning,error] | — | error |
| reporter | Reporter of reviewdog command [github-pr-check,github-pr-review].
Default is github-pr-check.
| — | github-pr-check |
| filter_mode | Filtering for the reviewdog command [added,diff_context,file,nofilter].
Default is added.
| — | added |
| fail_level | If set to `none`, always use exit code 0 for reviewdog.
Otherwise, exit code 1 for reviewdog if it finds at least 1 issue with severity greater than or equal to the given level.
Possible values: [none,any,info,warning,error]
Default is `none`.
| — | none |
| fail_on_error | Deprecated, use `fail_level` instead.
Exit code for reviewdog when errors are found [true,false]
Default is `false`.
| — | false |
| working_directory | Directory to run the action on, from the repo root.
Default is . ( root of the repository)
| — | . |
| tflint_version | The tflint version to install and use.
Default is to use the latest release version.
| — | latest |
| tflint_rulesets | Space separated, official (from the terraform-linters GitHub organization) tflint rulesets to install and use. If a pre-configured `TFLINT_PLUGIN_DIR` is set, rulesets are installed in that directory.
Default is empty.
| — | "" |
| tflint_init | Whether or not to run tflint --init prior to running scan [true,false]
Default is `false`.
| — | false |
| tflint_target_dir | The target dir for the tflint command. This is the directory passed to tflint as opposed to working_directory which is the directory the command is executed from.
Default is . ( root of the repository)
| — | . |
| tflint_config | Config file name for tflint.
Default is `.tflint.hcl`.
| — | .tflint.hcl |
| flags | List of arguments to send to tflint
For the output to be parsable by reviewdog --format=checkstyle is enforced
Default is --call-module-type=all.
| — | --call-module-type=all |