Skip to content

deps: Update ossf/scorecard to v5.7.0 - #167

Merged
justaugustus merged 3 commits into
ossf:mainfrom
justaugustus:scorecard-v5.7.0
Nov 19, 2026
Merged

justaugustus merged 3 commits into
ossf:mainfrom
justaugustus:scorecard-v5.7.0

Conversation

@justaugustus

@justaugustus justaugustus commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

What this changes

Repins the engine from the pre-release main pseudo-version (#162) to the v5.7.0 tag, so the API and the weekly batch scan run the released engine.

  • github.com/ossf/scorecard/v5 moves from v5.6.1-0.20261116065636-1a1d63aceae1 to v5.7.0. v5.7.0 declares go 1.27.4, so the go directive rises from 1.26.8. The Dockerfiles already build on golang:1.27.4. Indirect dependencies move up with it, including osv-scanner v2.7.1, which supersedes Dependabot's deps: bump github.com/google/osv-scanner/v2 from 2.5.1 to 2.7.1 #165.
  • go get and go mod tidy regroup the require blocks, so most of the go.mod diff is lines moving between blocks.
  • The canary (canary.yml) has failed since scorecard main moved to go 1.27.4. setup-go sets GOTOOLCHAIN=local, which overrides the job's GOTOOLCHAIN: auto, so oldstable (go1.26.11) can't load the engine (run 44472474333). The second commit switches it to stable and drops the setting that had no effect.
  • The lint job pinned golangci-lint v2.13.2, which is built with Go 1.26 and can't load a go 1.27.4 module. The third commit moves it to v2.15.0, which ossf/scorecard uses.

Related

How it was tested

  • make build, make test (-race, 21 packages) and make lint (0 issues with v2.14.0 and v2.15.0) pass locally with go1.27.4.
  • zizmor and actionlint report nothing on canary.yml.
  • The images weren't built locally; CI builds them.

Checklist

  • Commits are signed off (git commit -s)
  • make build and make test pass
  • make lint is clean
  • Specs/docs updated if behavior changed — N/A, no behavior change intended
  • No employer/internal references added

If this PR touches the batch pipeline (cron/):

  • If cron/internal/format changed, the corresponding engine change exists upstream and schema_gen_test.go passes — format is unchanged; its tests pass against v5.7.0

If this PR touches the scan inventories (cron/internal/data/*.csv):

N/A — no inventory changes.

Repins the engine from the pre-release `main` pseudo-version (ossf#162)
to the v5.7.0 tag, so the API and the weekly batch scan run the
released engine.

- v5.7.0 declares `go 1.27.4`, so the `go` directive moves from
  1.26.8. The Dockerfiles already build with golang:1.27.4.
- osv-scanner moves to v2.7.1 with it, which covers Dependabot's
  ossf#165.

Assisted-by: LLM
Signed-off-by: Stephen Augustus <foo@auggie.dev>
The canary has failed since scorecard main moved to `go 1.27.4`:
setup-go sets `GOTOOLCHAIN=local`, which overrides the job's
`GOTOOLCHAIN: auto`, so `oldstable` (go1.26.11) can't load the
engine. `stable` stays at or above upstream's floor, and the inert
`GOTOOLCHAIN` setting goes.

Assisted-by: LLM
Signed-off-by: Stephen Augustus <foo@auggie.dev>
@codecov

codecov Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.92%. Comparing base (e435c38) to head (d62b55d).
⚠️ Report is 262 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #167       +/-   ##
===========================================
+ Coverage   42.71%   52.92%   +10.20%     
===========================================
  Files          48       60       +12     
  Lines        2568     2891      +323     
===========================================
+ Hits         1097     1530      +433     
+ Misses       1383     1361       -22     
+ Partials       88        0       -88     
Components Coverage Δ
api 68.24% <68.24%> (∅)
cron 34.43% <86.77%> (+7.40%) ⬆️
core 71.87% <ø> (+3.31%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

v2.13.2 is built with Go 1.26 and can't load a module that declares
`go 1.27.4`. v2.15.0 is built with Go 1.27 and reports no issues
here; ossf/scorecard lints with it too.

Assisted-by: LLM
Signed-off-by: Stephen Augustus <foo@auggie.dev>
@justaugustus
justaugustus merged commit f54593e into ossf:main Nov 19, 2026
23 checks passed
@justaugustus
justaugustus deleted the scorecard-v5.7.0 branch November 19, 2026 08:07
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