Releases: suzuki-shunsuke/github-action-tflint
v1.3.0
v1.3.0-1
v1.3.0-0
v1.2.1
Issues | Pull Requests | v1.2.0...v1.2.1
🐛 Bug Fixes
#1211 Fix a bug that the fix option commits and pushes unrelated files if no file is fixed by tflint --fix
v1.2.0
Issues | Pull Requests | v1.1.2...v1.2.0
Features
#1199 Support fixing code by tflint --fix
ghcp is required.
You can install ghcp by aqua.
aqua g -i int128/ghcpe.g.
- uses: suzuki-shunsuke/[email protected]
with:
github_token_for_fix: ${{ secrets.GH_TOKEN_FOR_FIX }} # The permission `contents:write` is required.
fix: "true"v1.1.2
Issues | Pull Requests |
v1.1.1...v1.1.2
Fixes
#1167 Fix the warning of reviewdog's -fail-on-error
-fail-on-error was deprecated.
This action uses -fail-level if reviewdog supports, otherwise it uses -fail-on-error.
v1.1.1
Issues | Pull Requests |
v1.1.0...v1.1.1
Fixes
#1065 #1144 #1145 Support tflint v0.54.0 or later
tflint v0.54.0 removed --module option.
https://github.com/terraform-linters/tflint/releases/tag/v0.54.0
This action supports both tflint's latest version and old version.
It uses the option --call--module-type if the help message tflint --help includes --call--module-type.
Otherwise, it uses the option --module.
v1.1.0
Issues | Pull Requests |
v1.0.0...v1.1.0
Features
#865 #866 Support passing the other access token for tflint --init
This release adds an input github_token_for_tflint_init, which is a GitHub Access Token for tflint --init.
If this is set, the value is passed to tflint --init as the environment variable GITHUB_TOKEN.
Otherwise, the input github_token is used instead.
This input is useful for GitHub Enterprise Servers.
You can post comments and reviews to a GitHub Enterprise Server with github-comment and reviewdog, and download tflint plugins from github.com.
- uses: suzuki-shunsuke/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }} # GitHub Access token of GitHub Enterprise Server
github_token_for_tflint_init: ${{ secrets.GH_TOKEN_FOR_TFLINT_INIT }} # GitHub Access token of github.com
github_comment: truev1.1.0-1
Features
#865 #866 Support passing the other access token for tflint --init
This release adds an input github_token_for_tflint_init, which is a GitHub Access Token for tflint --init.
If this is set, the value is passed to tflint --init as the environment variable GITHUB_TOKEN.
Otherwise, the input github_token is used instead.
This input is useful for GitHub Enterprise Servers.
You can post comments and reviews to a GitHub Enterprise Server with github-comment and reviewdog, and download tflint plugins from github.com.
- uses: suzuki-shunsuke/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }} # GitHub Access token of GitHub Enterprise Server
github_token_for_tflint_init: ${{ secrets.GH_TOKEN_FOR_TFLINT_INIT }} # GitHub Access token of github.com
github_comment: truev1.0.0
Issues | Pull Requests | v0.1.6...v1.0.0
#652 Update Node.js 16 to 20
#683 Fixed a bug that action succeeds even if tflint fails
This bug was caused by a bug of reviewdog.