:seedling: Bump Scorecard to the v5.6.0 candidate and fix the canary toolchain by justaugustus · Pull Request #1714 · ossf/scorecard-action · GitHub
Skip to content

🌱 Bump Scorecard to the v5.6.0 candidate and fix the canary toolchain - #1714

Merged
justaugustus merged 2 commits into
ossf:mainfrom
justaugustus:deps/scorecard-v5.6.0-candidate
Oct 11, 2026
Merged

justaugustus merged 2 commits into
ossf:mainfrom
justaugustus:deps/scorecard-v5.6.0-candidate

Conversation

@justaugustus

Copy link
Copy Markdown
Member

Two commits:

1. Fix the canary's Go toolchain handling. The first canary run (38170501940) failed before building anything: actions/setup-go exports GOTOOLCHAIN=local through $GITHUB_ENV, which overrode the job-level GOTOOLCHAIN: auto, so go get github.com/ossf/scorecard/v5@main couldn't move from the Go 1.25.7 in go.mod to the 1.26.5 Scorecard now needs. The job now writes GOTOOLCHAIN=auto to $GITHUB_ENV after setup-go, so later steps follow Scorecard's go.mod floor. Without this, the canary would fail the same way every time Scorecard raises its Go version, instead of testing the change.

2. Bump Scorecard to the v5.6.0 release candidate (61e84743, v5.5.1-0.20261011173757-61e847433562). The pin moves to the v5.6.0 tag once it exists (#1710). The go directive moves from 1.25.7 to 1.26.5, Scorecard's minimum; the Docker builder (golang:1.26.5) already meets it.

The bump's dependency updates supersede these Dependabot PRs: #1693 (go-git, now v5.19.3), #1699 (buildkit, now v0.32.2), #1701 (grpc, now v1.83.2), #1704 (x/net, now v0.60.0), #1706 (otel/sdk, now v1.45.0), and #1708 (containerd, no longer in the module graph). #1695 (cosign v2.6.5) is not covered.

Verification, locally on this branch: go mod verify, go build ./... and go test ./... (with GITHUB_AUTH_TOKEN) pass; zizmor reports no findings for canary.yml. A workflow_dispatch canary run after merge confirms the toolchain fix.

Tracking: #1710

setup-go exports GOTOOLCHAIN=local through $GITHUB_ENV, which overrode
the job-level GOTOOLCHAIN=auto. The first run failed resolving
Scorecard main, which needs Go 1.26.5, on the Go 1.25.7 setup-go
installed from go.mod, before building or testing anything. Set
GOTOOLCHAIN=auto through $GITHUB_ENV after setup-go so later steps can
follow Scorecard's go.mod floor.

Assisted-by: LLM
Signed-off-by: Stephen Augustus <foo@auggie.dev>
Move github.com/ossf/scorecard/v5 to 61e84743, the commit planned for
the v5.6.0 tag, ahead of the v2.5.0 release. This lets the dependency
updates it brings in replace several open Dependabot PRs now, and the
pin moves to the v5.6.0 tag once it exists.

The go directive moves from 1.25.7 to 1.26.5, Scorecard's minimum.

Assisted-by: LLM
Signed-off-by: Stephen Augustus <foo@auggie.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant