Skip to content

Pin build and release tools and keep them updated with Dependabot - #1497

Merged
eileencodes merged 1 commit into
mainfrom
security-add-dependabot-and-pin-libraries
Nov 5, 2026
Merged

eileencodes merged 1 commit into
mainfrom
security-add-dependabot-and-pin-libraries

Conversation

@eileencodes

Copy link
Copy Markdown
Contributor

Move staticcheck, gorelease, and svu into a tools module (tools/go.mod) using Go tool directives, so their versions and checksums live in go.mod and go.sum. Run them with go tool -modfile=tools/go.mod.

Install license_finder from a locked Gemfile in .github/license_finder with CHECKSUMS.

Pin the remaining tools and images:

  • golangci-lint to v2.15.0
  • the binfmt image used by setup-qemu-action, by digest
  • golang, ubuntu, and goreleaser-cross base images, by digest
  • the syft package, verified by sha256

Update to current versions:

  • Go 1.26.10 in go.mod, tools/go.mod, and the golang and goreleaser-cross images
  • actions/checkout v7.0.1, actions/setup-go v7.0.0, ruby/setup-ruby v1.331.0, golangci-lint-action v9.3.0, create-github-app-token v3.3.0, setup-qemu-action v4.4.0
  • Ruby 4.0.7, svu v1.12.0, syft 1.55.0

Extend Dependabot to cover the tools module, GitHub Actions, Dockerfiles, and the license_finder bundle, with the same 14-day cooldown as Go modules.

Move staticcheck, gorelease, and svu into a tools module (tools/go.mod)
using Go tool directives, so their versions and checksums live in
go.mod and go.sum. Run them with `go tool -modfile=tools/go.mod`.

Install license_finder from a locked Gemfile in .github/license_finder
with CHECKSUMS.

Pin the remaining tools and images:

- golangci-lint to v2.15.0
- the binfmt image used by setup-qemu-action, by digest
- golang, ubuntu, and goreleaser-cross base images, by digest
- the syft package, verified by sha256

Update to current versions:

- Go 1.26.10 in go.mod, tools/go.mod, and the golang and
  goreleaser-cross images
- actions/checkout v7.0.1, actions/setup-go v7.0.0,
  ruby/setup-ruby v1.331.0, golangci-lint-action v9.3.0,
  create-github-app-token v3.3.0, setup-qemu-action v4.4.0
- Ruby 4.0.7, svu v1.12.0, syft 1.55.0

Extend Dependabot to cover the tools module, GitHub Actions, Dockerfiles,
and the license_finder bundle, with the same 14-day cooldown as Go
modules.
@eileencodes
eileencodes requested a review from a team as a code owner November 5, 2026 00:19
@eileencodes
eileencodes merged commit 667d1c3 into main Nov 5, 2026
6 checks passed
@eileencodes
eileencodes deleted the security-add-dependabot-and-pin-libraries branch November 5, 2026 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants