Skip to content

ops: add OpenSSF Scorecard workflow#48

Merged
amavashev merged 1 commit into
mainfrom
ops/scorecard-action
May 2, 2026
Merged

ops: add OpenSSF Scorecard workflow#48
amavashev merged 1 commit into
mainfrom
ops/scorecard-action

Conversation

@amavashev
Copy link
Copy Markdown
Contributor

Adds OpenSSF Scorecard supply-chain security analysis. Same workflow already merged in runcycles/cycles-server#142.

Why this repo

`runcycles` on PyPI is the entry point for every Python user. Scorecard scoring this repo means downstream Python users get a third-party signal that supply-chain practices are audited.

What it scores

~17 practices on a 0–10 scale: branch protection, signed commits, dependency review, pinned dependencies, token permissions, vulnerability disclosure, fuzzing, SAST, dangerous workflow patterns. Full list: https://github.com/ossf/scorecard/blob/main/docs/checks.md

Runs

  • On push to main (immediate first score after merge)
  • On `branch_protection_rule` changes
  • Weekly (Mon 06:00 UTC)

Where results land

  1. Security tab (SARIF upload)
  2. Public scorecard at https://scorecard.dev/viewer/?uri=github.com/runcycles/cycles-client-python (24h after first run)
  3. Auto-updating badge: `https://api.scorecard.dev/projects/github.com/runcycles/cycles-client-python/badge\`

Notes

  • Action SHAs pinned per Scorecard's pinned-dependencies criterion
  • `publish_results: true` requires public repo (it is)
  • Workflow must live on default branch — this PR puts it there

Test plan

  • Merge → verify workflow runs to green on post-merge push
  • Check Security tab — SARIF visible
  • Check scorecard.dev page after 24h
  • First score ≥6 reasonable; ≥8 strong; <5 means immediate hardening warranted

Free supply-chain security analysis from openssf/scorecard. Scores ~17
practices (branch protection, signed commits, dependency review, pinned
deps, token permissions, SAST, etc.) on a 0-10 scale and publishes the
result to api.scorecard.dev so the public badge auto-updates.

Runs on push to main, on branch_protection_rule changes, and weekly.
Action SHAs are pinned per Scorecard's pinned-dependencies criterion.
@amavashev amavashev merged commit f6e6701 into main May 2, 2026
7 checks passed
@amavashev amavashev deleted the ops/scorecard-action branch May 2, 2026 19:39
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.

1 participant