Skip to content

Layer 4 supply-chain trust signals: CodeQL, Scorecard, Dependabot#2

Merged
ErenAri merged 2 commits into
hosted-runner-onrampfrom
trust-signals
Jun 14, 2026
Merged

Layer 4 supply-chain trust signals: CodeQL, Scorecard, Dependabot#2
ErenAri merged 2 commits into
hosted-runner-onrampfrom
trust-signals

Conversation

@ErenAri

@ErenAri ErenAri commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Why

Cheap, high-credibility trust signals for getting eBPF projects to adopt bpfcompat in their CI. SBOM + cosign keyless signing already shipped in release-artifacts.yml; this adds the missing pieces.

Stacked on #1 (hosted-runner-onramp). Merge #1 first, then this — or retarget this to main after #1 lands.

What

  • .github/workflows/codeql.yml — CodeQL Go static analysis, build-mode: none (no C/libbpf toolchain needed), security-and-quality queries; push/PR/weekly.
  • .github/workflows/scorecard.yml — OpenSSF Scorecard, publishes to the public Scorecard API + SARIF to code scanning.
  • .github/dependabot.yml — weekly grouped updates for Go modules and pinned GitHub Actions.
  • README — CI / CodeQL / Scorecard / license badges + a Supply-chain posture section with a cosign verify-blob example.
  • docs/supply-chain.md — in-repo controls table + checklist of maintainer-side settings that can't be set from files (branch protection, secret-scanning push protection, OpenSSF Best Practices registration).

Notes

  • No untrusted github.event.* input is interpolated into any run: step in the new workflows.
  • The Scorecard badge stays "unknown" until the first scorecard.yml run on main succeeds.
  • After enabling the CodeQL workflow, turn OFF Code Scanning "default setup" to avoid double analysis.

🤖 Generated with Claude Code

ErenAri and others added 2 commits June 14, 2026 15:42
Adds the trust signals that were missing (SBOM + cosign signing already
shipped in release-artifacts.yml):

- .github/workflows/codeql.yml: CodeQL Go analysis (build-mode none, so no
  C/libbpf toolchain needed), security-and-quality queries, on push/PR/weekly.
- .github/workflows/scorecard.yml: OpenSSF Scorecard, publishes to the public
  Scorecard API and uploads SARIF to code scanning.
- .github/dependabot.yml: weekly grouped updates for Go modules and the pinned
  GitHub Actions.
- README: CI / CodeQL / Scorecard / license badges + a Supply-chain posture
  section with a cosign verify-blob example.
- docs/supply-chain.md: in-repo controls table plus a checklist of
  maintainer-side repo settings that can't be set from files (branch
  protection, secret-scanning push protection, OpenSSF Best Practices badge
  registration).

No untrusted github.event.* input is interpolated into any run: step in the
new workflows.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ErenAri
ErenAri merged commit b5a99b9 into hosted-runner-onramp Jun 14, 2026
4 checks passed
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