feat: thin-caller suite + picker template; retire individual templates - #74
Conversation
- security-suite.yml (ruleset source) is now a thin caller of reusable-security-suite.yml@v1.20.0 - add workflow-templates/security-suite.yml (+ .properties.json, shield icon) so the suite appears in the org 'New workflow' picker - retire the individual bumblebee-scan / secret-leak-check / pinact-check picker templates (superseded by the suite; the reusables themselves stay) One source of truth for the suite. Part of geolonia-operations#196.
Secret Leak CheckOK No secrets detected in this PR's diff. |
🛡️ Security suite
Warning Warnings only. These do not block the PR, but please review them. Updated for |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Your recent review volume is higher than typical usage, so adaptive limits are currently applied. Next review available in: 34 minutes Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable usage-based reviews in Billing to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please see our Fair Usage Limits Policy for further information, and refer to the rate limits docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThree individual security workflow templates ( ChangesSecurity Suite Consolidation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 `@workflow-templates/security-suite.yml`:
- Around line 14-16: The workflow trigger in the security suite template is
hard-coded to a specific branch, which prevents generated workflows from running
correctly in repos with a different default branch. Update the trigger in the
workflow template to use the `$default-branch` placeholder instead of `main`,
and make sure the `on.pull_request.branches` configuration in the security suite
workflow remains aligned with the template’s default-branch behavior.
🪄 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: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: b089f218-7e7e-4484-b30a-a4224ae44e7a
📒 Files selected for processing (9)
.github/workflows/security-suite.ymlworkflow-templates/bumblebee-scan.properties.jsonworkflow-templates/bumblebee-scan.ymlworkflow-templates/pinact-check.properties.jsonworkflow-templates/pinact-check.ymlworkflow-templates/secret-leak-check.properties.jsonworkflow-templates/secret-leak-check.ymlworkflow-templates/security-suite.properties.jsonworkflow-templates/security-suite.yml
💤 Files with no reviewable changes (6)
- workflow-templates/bumblebee-scan.yml
- workflow-templates/secret-leak-check.properties.json
- workflow-templates/pinact-check.properties.json
- workflow-templates/pinact-check.yml
- workflow-templates/bumblebee-scan.properties.json
- workflow-templates/secret-leak-check.yml
Per CodeRabbit: the workflow-template is copied into adopting repos, so hardcoding 'main' skips repos with a different default branch. The picker substitutes $default-branch at creation time.
Secret Leak CheckOK No secrets detected in this PR's diff. |
What
Makes the Security Suite a single source of truth and puts it in the org template picker.
security-suite.yml(the ruleset source) is now a thin caller ofreusable-security-suite.yml@v1.20.0instead of inlining ~230 lines.workflow-templates/security-suite.yml(+.properties.json, shield icon) is added, so "Security Suite (all checks)" shows up under New workflow → By Geolonia for repos that opt in manually.Why
Last week's suite logic lived only in the ruleset source, so it couldn't be offered in the picker without a drift-prone copy. Now both the ruleset source and the picker template are one-line callers of the reusable.
Adoption guidance (in the template header + properties)
Prefer the org Security Suite ruleset where enabled; use this template only for repos outside that ruleset. A repo should not have both (they would run the suite twice).
Part of geolonia-operations#196.
Validation
actionlintclean on both callerszizmorself-audit: no findingssecurity-suite.ymlon itself, exercising the reusable end-to-end.Summary by CodeRabbit
New Features
Chores