plugin: Ignore forbidden attestation fetch errors#2481
Merged
wata727 merged 1 commit intoMar 15, 2026
Conversation
d04525e to
9691314
Compare
3 tasks
tmeijn
pushed a commit
to tmeijn/dotfiles
that referenced
this pull request
May 8, 2026
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [tflint](https://github.com/terraform-linters/tflint) | minor | `0.61.0` → `0.62.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.62.0`](https://github.com/terraform-linters/tflint/releases/tag/v0.62.0) [Compare Source](terraform-linters/tflint@v0.61.0...v0.62.0) #### What's Changed ##### Enhancements - plugin: Add signature mode to control plugin verifications by [@​wata727](https://github.com/wata727) in [#​2483](terraform-linters/tflint#2483) ##### Bug Fixes - plugin: Ignore forbidden attestation fetch errors by [@​wata727](https://github.com/wata727) in [#​2481](terraform-linters/tflint#2481) ##### Chores - build(deps): Bump the go-x group with 4 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2461](terraform-linters/tflint#2461) - build(deps): Bump docker/build-push-action from 6.18.0 to 6.19.2 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2463](terraform-linters/tflint#2463) - build(deps): Bump google.golang.org/grpc from 1.78.0 to 1.79.1 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2464](terraform-linters/tflint#2464) - build(deps): Bump goreleaser/goreleaser-action from 6.4.0 to 7.0.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2467](terraform-linters/tflint#2467) - build(deps): Bump go.opentelemetry.io/otel/sdk from 1.39.0 to 1.40.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2469](terraform-linters/tflint#2469) - build(deps): Bump actions/setup-go from 6.2.0 to 6.3.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2470](terraform-linters/tflint#2470) - build(deps): Bump golang.org/x/net from 0.50.0 to 0.51.0 in the go-x group by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2472](terraform-linters/tflint#2472) - build(deps): Bump github.com/zclconf/go-cty from 1.17.0 to 1.18.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2473](terraform-linters/tflint#2473) - build(deps): Bump actions/attest-build-provenance from 3.2.0 to 4.1.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2471](terraform-linters/tflint#2471) - build(deps): Bump docker/metadata-action from 5.10.0 to 6.0.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2474](terraform-linters/tflint#2474) - build(deps): Bump sigstore/cosign-installer from 4.0.0 to 4.1.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2476](terraform-linters/tflint#2476) - build(deps): Bump golang.org/x/oauth2 from 0.35.0 to 0.36.0 in the go-x group by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2479](terraform-linters/tflint#2479) - build(deps): Bump google.golang.org/grpc from 1.79.1 to 1.79.2 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2480](terraform-linters/tflint#2480) - build(deps): Bump docker/setup-buildx-action from 3.12.0 to 4.0.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2475](terraform-linters/tflint#2475) - build(deps): Bump docker/build-push-action from 6.19.2 to 7.0.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2477](terraform-linters/tflint#2477) - build(deps): Bump docker/login-action from 3.7.0 to 4.0.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2478](terraform-linters/tflint#2478) - deps: Bump Go version to 1.26 by [@​wata727](https://github.com/wata727) in [#​2482](terraform-linters/tflint#2482) - build(deps): Bump the go-x group with 3 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2484](terraform-linters/tflint#2484) - build(deps): Bump google.golang.org/grpc from 1.79.2 to 1.79.3 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2489](terraform-linters/tflint#2489) - build(deps): Bump mislav/bump-homebrew-formula-action from 3.6 to 4.1 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2490](terraform-linters/tflint#2490) - build(deps): Bump github.com/terraform-linters/tflint-plugin-sdk from 0.23.1 to 0.24.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2491](terraform-linters/tflint#2491) - build(deps): Bump github.com/fatih/color from 1.18.0 to 1.19.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2492](terraform-linters/tflint#2492) - dependabot: Set cooldown period by [@​wata727](https://github.com/wata727) in [#​2493](terraform-linters/tflint#2493) - build(deps): Bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2495](terraform-linters/tflint#2495) - build(deps): Bump github.com/hashicorp/go-version from 1.8.0 to 1.9.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2496](terraform-linters/tflint#2496) - build(deps): Bump actions/setup-go from 6.3.0 to 6.4.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2498](terraform-linters/tflint#2498) - build(deps): Bump github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream from 1.7.4 to 1.7.8 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2499](terraform-linters/tflint#2499) - build(deps): Bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.95.0 to 1.97.3 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2500](terraform-linters/tflint#2500) - build(deps): Bump go.opentelemetry.io/otel/sdk from 1.40.0 to 1.43.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2501](terraform-linters/tflint#2501) - build(deps): Bump github.com/hashicorp/go-getter from 1.8.4 to 1.8.6 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2502](terraform-linters/tflint#2502) - build(deps): Bump github.com/sigstore/timestamp-authority/v2 from 2.0.3 to 2.0.6 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2506](terraform-linters/tflint#2506) - build(deps): Bump google.golang.org/grpc from 1.79.3 to 1.80.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2503](terraform-linters/tflint#2503) - build(deps): Bump sigstore/cosign-installer from 4.1.0 to 4.1.1 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2497](terraform-linters/tflint#2497) - build(deps): Bump docker/login-action from 4.0.0 to 4.1.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2504](terraform-linters/tflint#2504) - build(deps): Bump docker/build-push-action from 7.0.0 to 7.1.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2507](terraform-linters/tflint#2507) - release: Migrate attest-build-provenance to attest by [@​wata727](https://github.com/wata727) in [#​2508](terraform-linters/tflint#2508) **Full Changelog**: <terraform-linters/tflint@v0.61.0...v0.62.0> </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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 [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNjguNSIsInVwZGF0ZWRJblZlciI6IjQzLjE2OC41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiLCJhdXRvbWF0aW9uOmJvdC1hdXRob3JlZCIsImRlcGVuZGVuY3ktdHlwZTo6bWlub3IiXX0=-->
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.
Fixes #2460
With the keyless verification introduced in #2453, if attestation does not exist or if it is a private repository, it will now fall back to signing key-based verification.
However, as a result of always fetching attestations, errors now occur when the
GITHUB_TOKENdoes not have permission to fetch attestations, as in #2460.Since attestations can always be fetched from a public repository, if it cannot be fetched due to a permission error, it is likely that it is a private repository. So, in this PR, if a 403 error occurs, we will assume that attestations are unavailable and fall back to signing key-based verification.