ci: bump tflint to v0.62.1 and skip aws plugin attestation - #402
Open
l50 wants to merge 1 commit into
Open
Conversation
**Changed:** - Upgraded TFLint from v0.61.0 to v0.62.1 in `pre-commit.yaml` to avoid the sigstore-go nil TlogEntries panic that occurred when plugin attestation fetch was forbidden in restricted-token CI - Consolidated pre-commit execution into a single run step, removing the separate check-only hooks stage and the associated `SKIP` environment variables now that attestation issues are resolved - Updated autofix patch capture condition to reference only the remaining precommit step - Set `signature = "none"` on the AWS tflint plugin in `.tflint.hcl` to skip attestation verification during `tflint --init`, while keeping the plugin pinned by version and fetched over HTTPS **Removed:** - Removed the separate "Run check-only hooks" step from `pre-commit.yaml`
l50
force-pushed
the
upstream/ci-tflint-attestation-crash
branch
from
August 3, 2026 20:18
fb2d8d9 to
fe96639
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Key Changes:
Changed:
tflint_versionto v0.62.1 in.github/workflows/pre-commit.yamlbecause v0.61.0 panicked (sigstore-go nil TlogEntries) when the plugin attestation fetch was forbidden in restricted-token CI, while v0.62.0+ gracefully ignores forbidden attestation-fetch errorssignature = "none"to the AWS ruleset plugin config in.hooks/linters/.tflint.hclto skip attestation verification that crashestflint --initin CI; the plugin remains pinned by version and fetched over HTTPS from the official release, and this requires tflint >= v0.62.0