ci(security): OpenSSF Scorecard workflow + README badge (T8)#65
Merged
Conversation
Add `.github/workflows/scorecard.yml` running `ossf/scorecard-action` v2.4.3 (SHA-pinned per ADR-015) on branch_protection_rule + weekly cron + push main + pull_request. Top-level `permissions: read-all`; the analysis job widens only `security-events: write` (SARIF -> Security tab) and `id-token: write` (OIDC for publish_results). publish_results is gated to non-PR runs so the public score comes from the default branch; PR runs only verify the workflow is green. Add the Scorecard badge to README and document the workflow in docs/development/ci.md. Also ticks T9 (branch protection on main) and T11 (secret scanning + push protection) in the security-hardening plan — both applied via `gh api` as repo-settings changes (PR A), no code. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the OpenSSF Scorecard workflow (plan task T8) — the public supply-chain credibility metric for this repo — plus the README badge.
.github/workflows/scorecard.yml—ossf/scorecard-actionv2.4.3 (SHA-pinned, ADR-015). Triggers:branch_protection_rule, weekly cron (Mon 06:42 UTC), pushmain, andpull_request.permissions: read-all; analysis job widens onlysecurity-events: write(SARIF → Security tab) +id-token: write(OIDC forpublish_results).publish_resultsgated to non-PR runs — the public score must come from the default branch; PR runs exist only to prove the workflow is green.docs/development/ci.md(workflow table + section).Also in this PR (docs only)
Ticks T9 (branch protection on
main) and T11 (secret scanning + push protection) indocs/plans/2026-06-18-security-hardening.md. Both were applied as repo-settings changes viagh api(the plan's "PR A") — no code, so only the plan checkboxes change here.Verification
scorecard.ymlYAML validated; alluses:refs SHA-pinned with# vX.Y.Zcomments (ADR-015).main.🤖 Generated with Claude Code