Skip to content

Releases: suzuki-shunsuke/github-action-tflint

v1.2.1

22 Dec 11:37
v1.2.1
a9d1f33
Compare
Choose a tag to compare

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

15 Dec 01:49
v1.2.0
6039e95
Compare
Choose a tag to compare

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/ghcp

e.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

25 Nov 00:58
v1.1.2
23bd81c
Compare
Choose a tag to compare

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

12 Nov 23:05
v1.1.1
aaa3b65
Compare
Choose a tag to compare

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

11 Mar 22:30
v1.1.0
0b7fbc3
Compare
Choose a tag to compare

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: true

v1.1.0-1

11 Mar 12:52
v1.1.0-1
15a7462
Compare
Choose a tag to compare
v1.1.0-1 Pre-release
Pre-release

v1.0.0...v1.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: true

v1.0.0

22 Oct 00:29
v1.0.0
b12ad80
Compare
Choose a tag to compare

Issues | Pull Requests | v0.1.6...v1.0.0

#652 Update Node.js 16 to 20

https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/#for-actions-maintainers

#683 Fixed a bug that action succeeds even if tflint fails

This bug was caused by a bug of reviewdog.

v0.1.6

18 Jun 23:21
v0.1.6
4c64bc6
Compare
Choose a tag to compare

Issues | Pull Requests | v0.1.5...v0.1.6

Features

#540 #542 Support tflint v0.47.0

This change keeps the compatibility, which means this release supports not only tflint v0.47.0 but also old versions.

v0.1.6-1

18 Jun 22:36
v0.1.6-1
4c64bc6
Compare
Choose a tag to compare
v0.1.6-1 Pre-release
Pre-release

Features

#542 Support tflint v0.47.0

v0.1.5

20 Dec 10:18
v0.1.5
8537c87
Compare
Choose a tag to compare

Pull Requests | v0.1.4...v0.1.5

Fixes

#313 Pass the environment variable GITHUB_TOKEN to tflint --init command to resolve GitHub API rate limiting issue

Contributors

Thank you for your contribution!

@semnil #313 🎉 New contributor