-
Notifications
You must be signed in to change notification settings - Fork 381
Alphabetize rulesets in version output #2404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
Fixes #2403 Sort rulesets alphabetically when displaying version information to ensure consistent output across multiple runs. Previously, rulesets appeared in non-deterministic order due to Go map iteration randomization. Changes: - Sort ruleset names before iterating in getPluginVersions() - Add integration test to verify consistent alphabetical ordering
tmeijn
pushed a commit
to tmeijn/dotfiles
that referenced
this pull request
Nov 21, 2025
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [tflint](https://github.com/terraform-linters/tflint) | minor | `0.59.1` -> `0.60.0` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>terraform-linters/tflint (tflint)</summary> ### [`v0.60.0`](https://github.com/terraform-linters/tflint/releases/tag/v0.60.0) [Compare Source](terraform-linters/tflint@v0.59.1...v0.60.0) #### What's Changed This release introduces a new configuration file format: `.tflint.json`. This is useful for workflows such as automatically generating configuration files. Please note that in order to use the `.tflint.json`, enabled plugins must be built with SDK v0.23+. From this release, Cosign signatures (`checksums.txt.keyless.sig` and `checksums.txt.pem`) are deprecated. They will not be included in future releases. If your installation scripts depend on them, please migrate to `gh attestation verify`. ##### Enhancements - Add JSON configuration file support by [@​rorychatterton](https://github.com/rorychatterton) in [#​2391](terraform-linters/tflint#2391) - Report structured errors in JUnit and CheckStyle XML formatters by [@​bendrucker](https://github.com/bendrucker) in [#​2407](terraform-linters/tflint#2407) ##### Changes - Alphabetize rulesets in version output by [@​bendrucker](https://github.com/bendrucker) in [#​2404](terraform-linters/tflint#2404) - release: Pin Cosign version and deprecate Cosign signatures by [@​wata727](https://github.com/wata727) in [#​2405](terraform-linters/tflint#2405) ##### Bug Fixes - fix: only read TF\_VAR for root module by [@​bendrucker](https://github.com/bendrucker) in [#​2413](terraform-linters/tflint#2413) ##### Chores - build(deps): Bump actions/attest-build-provenance from 2.4.0 to 3.0.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2376](terraform-linters/tflint#2376) - build(deps): Bump actions/setup-go from 5.5.0 to 6.0.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2377](terraform-linters/tflint#2377) - build(deps): Bump the go-x group with 3 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2378](terraform-linters/tflint#2378) - build(deps): Bump github.com/spf13/afero from 1.14.0 to 1.15.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2380](terraform-linters/tflint#2380) - build(deps): Bump github.com/zclconf/go-cty from 1.16.4 to 1.17.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2379](terraform-linters/tflint#2379) - build(deps): Bump golang.org/x/net from 0.43.0 to 0.44.0 in the go-x group by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2381](terraform-linters/tflint#2381) - build(deps): Bump google.golang.org/grpc from 1.75.0 to 1.75.1 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2382](terraform-linters/tflint#2382) - build(deps): Bump github.com/sigstore/sigstore-go from 1.1.1 to 1.1.2 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2383](terraform-linters/tflint#2383) - build(deps): Bump sigstore/cosign-installer from 3.9.2 to 3.10.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2384](terraform-linters/tflint#2384) - build(deps): Bump mislav/bump-homebrew-formula-action from 3.5 to 3.6 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2388](terraform-linters/tflint#2388) - fix(script): GitHub API rate limit by [@​Sander0542](https://github.com/Sander0542) in [#​2390](terraform-linters/tflint#2390) - Bump tflint-plugin-sdk to v0.23.0 by [@​wata727](https://github.com/wata727) in [#​2393](terraform-linters/tflint#2393) - build(deps): Bump github.com/sigstore/sigstore-go from 1.1.2 to 1.1.3 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2394](terraform-linters/tflint#2394) - build(deps): Bump docker/login-action from 3.5.0 to 3.6.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2395](terraform-linters/tflint#2395) - build(deps): Bump the go-x group with 4 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2397](terraform-linters/tflint#2397) - build(deps): Bump google.golang.org/grpc from 1.75.1 to 1.76.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2398](terraform-linters/tflint#2398) - build(deps): Bump sigstore/cosign-installer from 3.10.0 to 4.0.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2399](terraform-linters/tflint#2399) - build(deps): Bump golang.org/x/net from 0.45.0 to 0.46.0 in the go-x group by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2400](terraform-linters/tflint#2400) - build(deps): Bump github.com/terraform-linters/tflint-plugin-sdk from 0.23.0 to 0.23.1 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2402](terraform-linters/tflint#2402) - build(deps): Bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2408](terraform-linters/tflint#2408) - build(deps): Bump docker/metadata-action from 5.8.0 to 5.9.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2409](terraform-linters/tflint#2409) - build(deps): Bump golang.org/x/oauth2 from 0.32.0 to 0.33.0 in the go-x group by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2410](terraform-linters/tflint#2410) #### New Contributors - [@​Sander0542](https://github.com/Sander0542) made their first contribution in [#​2390](terraform-linters/tflint#2390) - [@​rorychatterton](https://github.com/rorychatterton) made their first contribution in [#​2391](terraform-linters/tflint#2391) **Full Changelog**: <terraform-linters/tflint@v0.59.1...v0.60.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
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.
Fixes inconsistent ordering of rulesets in
tflint --versionoutput. Previously, rulesets were iterated in random order (as amap) which caused the output oftflint --versionto be non-deterministic.Changes
slices.Sorted(maps.Keys())References
Closes #2403