chore: phase 2 supply-chain hardening (SBOM + provenance)#169
Conversation
Adds SBOM generation and build provenance attestation to release workflows. Users can now audit dependency trees and verify that release artifacts originate from this repository at a specific commit. Workflows: - auto-tag.yml, release.yml: generate SPDX-JSON SBOM via Syft (anchore/sbom-action), attest provenance via Sigstore (actions/attest-build-provenance), attach SBOM to GitHub Release - Permissions: opt-in id-token: write, attestations: write per job Pinned to SHA: - anchore/sbom-action@e22c389 (v0.24.0) - actions/attest-build-provenance@a2bbfa2 (v4.1.0) Side fix: - .gitignore: add .playwright-mcp/ to prevent Playwright MCP snapshot/screenshot artifacts from being tracked
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Closes #168
Summary
Phase 1(#164)の続編。リリース成果物の 透明性 と 検証可能性 を高める。
Changes
.github/workflows/auto-tag.yml&release.yml両ワークフローの `create-release` job に以下を追加:
SBOM 生成 (`anchore/sbom-action` @ v0.24.0, SHA pinned)
Provenance attestation (`actions/attest-build-provenance` @ v4.1.0, SHA pinned)
Release attach
Permissions opt-in(最小権限維持)
`create-release` job のみに以下を付与:
他の job はデフォルトの `contents: read` のまま。
.gitignoreVerification by users
リリース後、利用者は以下で出自を検証可能:
```bash
SBOM ダウンロード後
gh attestation verify rox-2026.5.0.spdx.json --repo Love-Rox/rox
```
成功すれば「この SBOM は Love-Rox/rox の から作られた」ことを暗号学的に証明できる。
Test plan
Out of scope