Skip to content

CI: Add OpenSSF Scorecard workflow - #84

Merged
tykeal merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:ci/add-openssf-scorecard
Jul 1, 2026
Merged

tykeal merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:ci/add-openssf-scorecard

Conversation

@ModeSevenIndustrialSolutions

Copy link
Copy Markdown
Member

Summary

Adds the standard OpenSSF Scorecard thin caller workflow
(.github/workflows/openssf-scorecard.yaml) so this repository joins
the organisation-wide Scorecard programme, matching the workflow
already deployed across the other lfreleng-actions repositories.

  • Pinned to the shared reusable
    lfit/releng-reusable-workflows/.github/workflows/reuse-openssf-scorecard.yaml
    at the v0.7.2 release commit
    (fd3c1b43bc919e9e70787b009ffa2768ddbb1267).
  • The reusable keeps step-security/harden-runner in block mode
    via a curated egress allow-list scoped to the endpoints Scorecard
    needs (including api.deps.dev), so it satisfies the upstream
    ossf/scorecard-action workflow restrictions and publishes results
    cleanly to the Security dashboard and scorecard.dev.
  • Default job permissions are none; the job requests only
    contents: read, security-events: write and id-token: write,
    each documented with an inline comment.

Validation

  • zizmor --persona=auditor --min-severity low → No findings to
    report.
  • prek run → yamllint, actionlint, REUSE, workflow validators pass.

New file uses the current year (2026) in its SPDX header.

Add the standard thin caller workflow that invokes the shared OpenSSF
Scorecard reusable from lfit/releng-reusable-workflows, bringing this
repository into the organisation-wide Scorecard programme.

The reusable is pinned to the v0.7.2 release commit. It keeps
step-security/harden-runner in block mode via a curated egress
allow-list scoped to the endpoints Scorecard needs, satisfying the
upstream ossf/scorecard-action workflow restrictions so results
publish cleanly to the Security dashboard and scorecard.dev.

The caller reports zero zizmor findings at the organisation scan bar
(--persona auditor --min-severity low).

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>

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.

Pull request overview

Adds an OpenSSF Scorecard GitHub Actions workflow that delegates execution to the organisation’s shared reusable workflow (thin-caller pattern), enabling regular Scorecard runs and publishing results to GitHub Security/scorecard.dev with minimal permissions.

Changes:

  • Introduces .github/workflows/openssf-scorecard.yaml with manual, scheduled, push, and branch-protection triggers.
  • Pins the reusable Scorecard workflow to a specific commit (fd3c1b43…, v0.7.2) and scopes permissions to only what Scorecard needs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@tykeal tykeal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🤖 Dependamerge
Approved this pull request ✅

@tykeal
tykeal merged commit 22f4b9e into lfreleng-actions:main Jul 1, 2026
8 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