actions-marketplace-validations/Run tflint with reviewdog

🐶 Run tflint with reviewdog on pull requests to enforce best practices

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenGITHUB_TOKENyes${{ github.token }}
levelReport level for reviewdog [info,warning,error]error
reporterReporter of reviewdog command [github-pr-check,github-pr-review]. Default is github-pr-check. github-pr-check
filter_modeFiltering for the reviewdog command [added,diff_context,file,nofilter]. Default is added. added
fail_levelIf 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_errorDeprecated, use `fail_level` instead. Exit code for reviewdog when errors are found [true,false] Default is `false`. false
working_directoryDirectory to run the action on, from the repo root. Default is . ( root of the repository) .
tflint_versionThe tflint version to install and use. Default is to use the latest release version. latest
tflint_rulesetsSpace 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_initWhether or not to run tflint --init prior to running scan [true,false] Default is `false`. false
tflint_target_dirThe 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_configConfig file name for tflint. Default is `.tflint.hcl`. .tflint.hcl
flagsList 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
namedescription
tflint-return-codetflint command return code
reviewdog-return-codereviewdog command return code