Configure the OpenSSF Scorecard GitHub Action to run on every pull request and publish results to GitHub Code Scanning

domain: securityscorecards.dev · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Add a workflow file to .github/workflows/ that triggers on 'pull_request' and 'push' to the default branch
  2. Use the 'ossf/scorecard-action' action in a job step, providing the GITHUB_TOKEN via secrets and setting the results format to sarif
  3. Configure the action to upload the SARIF results artifact using the 'github/codeql-action/upload-sarif' action so findings appear in the Security tab
  4. Set 'publish_results: true' if you want the results published to the public Scorecard API for badge display
  5. Add the required permissions block to the workflow job: 'security-events: write' for SARIF upload and 'id-token: write' for keyless signing of results

Known gotchas

Related routes

Set up the OpenSSF Scorecard GitHub Action to run security checks and upload results as SARIF to GitHub code scanning
github.com/ossf/scorecard-action · 6 steps · unrated
Run OpenSSF Scorecard against a GitHub repository and interpret the weighted score output
securityscorecards.dev · 6 steps · unrated
Retrieve a GitHub repository's published OpenSSF Scorecard score via the public Scorecard REST API without running a local scan
api.securityscorecards.dev · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans