Skip to content

CI(actions): Bump ossf/scorecard-action to v2.5.0 - #138

Merged
tykeal merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:chore/scorecard-action-2.5.0
Oct 14, 2026
Merged

tykeal merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:chore/scorecard-action-2.5.0

Conversation

@ModeSevenIndustrialSolutions

Copy link
Copy Markdown
Member

What

Bumps ossf/scorecard-action in the OpenSSF Scorecard lane
(.github/workflows/openssf-scorecard.yaml) from v2.4.4 to
v2.5.0,
which runs Scorecard v5.6.0.

Pinned to the release commit fa7117db83c52d787ae5a89f350999701505d78e,
not the annotated tag object (46dc3187…).

Why now, ahead of the Dependabot cooldown

Scorecard v5.5.0 reports every same-repository $/ reference as
third-party GitHubAction not pinned by hash. Our scans publish their own
results to api.scorecard.dev, so the false positives land on the badge
and in code scanning for every repository that adopted the
self-repository syntax. This repository's live result shows 29 such
findings, all of them $/ calls, with Pinned-Dependencies at 6/10.

Scorecard v5.6.0 treats $/ like ./
(ossf/scorecard#5191).
The openssf-scorecard-self.yaml scan calls this lane through $/, so
it picks up the new version on merge.

This is the first step in moving every lfreleng-actions caller off
lfit/releng-reusable-workflows and onto this lane. That migration will
pin the release that carries this change.

Compatibility checked

  • Image registry: v2.5.0 pulls ghcr.io/ossf/scorecard-action:v2.5.0,
    the same registry as v2.4.4, so the curated egress allow-list is
    unchanged. Only v2.4.0 and earlier used the retired gcr.io.
  • Inputs: no input was removed. v2.5.0 adds intoto as a
    results_format value; the lane's validation still admits only sarif
    and json, so it is not exposed here.
  • Workflow restrictions: the v2.5.0 notes list no change to the
    publish API's permitted steps.

Validation

  • prek run --files .github/workflows/openssf-scorecard.yaml: all hooks passed.
  • zizmor --persona auditor (online): no findings.
  • aislop ci --changes --base upstream/main: empty diagnostics, score 100.
  • tests/workflow-steps.sh: all 112 cases passed.

The first scheduled or post-merge run of openssf-scorecard-self.yaml
will confirm the image pull under the egress block and a successful
publish.

Move the OpenSSF Scorecard lane to scorecard-action v2.5.0, which
runs Scorecard v5.6.0, ahead of the Dependabot cooldown.

Scorecard v5.5.0 reports every same-repository $/ reference as a
third-party action not pinned by hash. Our scans publish their own
results, so these false positives depress the Pinned-Dependencies
score of every repository that has adopted the self-repository
syntax: 29 findings here, and more across the organisation.
Scorecard v5.6.0 treats $/ like ./ (ossf/scorecard#5191).

The image is still pulled from ghcr.io, as with v2.4.4, so the
curated egress allow-list needs no change. The lane's results_format
validation still admits only sarif and json; the new in-toto format
is deliberately not exposed here.

The pin is the release commit, not the annotated tag object.

https://github.com/ossf/scorecard-action/releases/tag/v2.5.0
https://github.com/ossf/scorecard/releases/tag/v5.6.0

Co-authored-by: Claude <[email protected]>
Signed-off-by: Matthew Watkins <[email protected]>
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions requested review from a team and a balanced review from Copilot October 12, 2026 12:49
@github-actions github-actions Bot added the CI CI and tests updates label Oct 12, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The verified release tag resolves to the pinned commit and the action metadata remains compatible.

0 open findings

What changed in this PR

Updates the OpenSSF Scorecard workflow to Scorecard Action v2.5.0.

Changes:

  • Pins v2.5.0 to its verified release commit.
  • Upgrades the bundled Scorecard to v5.6.0.
File Description
.github/​workflows/​openssf-scorecard.yaml Updates the pinned Scorecard Action version.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@tykeal
tykeal merged commit 8ed6591 into lfreleng-actions:main Oct 14, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI CI and tests updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants