Pin GitHub Actions to digests and add 1-day Renovate quarantine#62
Pin GitHub Actions to digests and add 1-day Renovate quarantine#62BergCyrill merged 1 commit intomainfrom
Conversation
…ith OSV bypass Signed-off-by: Cyrill Berg <cyrill.berg@opendefense.cloud>
📝 WalkthroughWalkthroughThis PR pins GitHub Actions to specific commit SHAs across four CI/CD workflows and configures Renovate to automatically manage these pinned digests. All workflows continue executing their existing logic; only the action references are pinned for supply chain security and reproducibility. ChangesGitHub Actions Security Pinning
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related issues
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@renovate.json`:
- Around line 4-8: The OSV alerts setting currently won't bypass the 1-day
quarantine because osV-specific behavior ignores the top-level
minimumReleaseAge; add an explicit osvVulnerabilityAlerts block in renovate.json
(symbol: osvVulnerabilityAlerts) with minimumReleaseAge: "0" to allow OSV
vulnerability PRs to be created immediately, or alternatively remove/adjust the
global minimumReleaseAge if you prefer a different policy; update the Renovate
config where vulnerabilityAlerts and minimumReleaseAge are defined to include
this new block.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 3337c08c-b104-4121-b04b-3529487b3e91
📒 Files selected for processing (5)
.github/workflows/docker.yaml.github/workflows/golang.yaml.github/workflows/helm-lint.yaml.github/workflows/helm-publish.yamlrenovate.json
|
Checked the Shas myself. LGTM |
Solves #55
Additional adds a quarantine for non-vulnerable bumps to 1 day.
Renovate config edited to use digest pinning for GitHub Actions.
Summary by CodeRabbit