feat(ci): add OSSF Scorecard and Gitleaks secret scanning#385
Merged
Conversation
scorecard.yml: - Runs ossf/scorecard-action on push to main and weekly - Publishes results to securityscorecards.dev (public score) - Uploads SARIF to Code Scanning secret-scanning.yml: - Downloads and checksum-verifies Gitleaks v8.21.2 (same pattern as actionlint) - On PRs: scans only commits introduced by the PR (base..head) - On push: scans full git history - Runs on every PR and push to main/develop Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
Build Performance Report⏱️ Build Time: 12 minutes 📊 Comparison with main branch:
✅ Within acceptable range This is an automated performance check |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
Build Performance Report⏱️ Build Time: 12 minutes 📊 Comparison with main branch:
✅ Within acceptable range This is an automated performance check |
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
scorecard.yml)secret-scanning.yml)scorecard.yml
Runs OSSF Scorecard which grades the repo's supply-chain security practices (pinned actions, branch protection, SAST, code review, etc.) and publishes a public badge/score. Runs on push to
mainand weekly. Uploads SARIF to Code Scanning.secret-scanning.yml
Downloads and checksum-verifies Gitleaks v8.21.2 (same pattern as actionlint — no third-party action, no license concerns). Scans git history for accidentally committed secrets:
base..head) — fast and focusedNotes
ossf/scorecard-action@v2.4.0uses a version tag — Dependabot will pin it to a commit hash on its next weekly run🤖 Generated with Claude Code