Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/tflint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ jobs:
- name: Install TFLint
uses: terraform-linters/setup-tflint@90f302c255ef959cbfb4bd10581afecdb7ece3e6 # v4.1.1
with:
tflint_version: v0.58.0
tflint_version: v0.58.1
checksums: |
1e8ccdf3e4b57ba154545b4343621bf46f25ca8f5cc97e36432469752f7ef0c0
2fea1af8e8602d4d9e4253a588ac66f17bf36152cafb51f4d929b8bc6335e740
- name: tflint --init
env:
GITHUB_TOKEN: ${{ github.token }}
Copy link

Copilot AI Jul 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using github.token provides read-only access to the repository. Consider using secrets.GITHUB_TOKEN for more explicit token management, or verify that read-only permissions are sufficient for TFLint's initialization requirements.

Suggested change
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Copilot uses AI. Check for mistakes.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run: tflint --init
- name: tflint
run: tflint