chore(ci): add Renovate baseline config#11181
Open
pfe-nazaries wants to merge 8 commits into
Open
Conversation
Contributor
|
✅ Conflict Markers Resolved All conflict markers have been successfully resolved in this pull request. |
556bf2a to
5ea9f51
Compare
added 8 commits
May 14, 2026 17:25
Ensures `wt switch --create` copies the nested openspec/ clone into new worktrees alongside .envrc and ui/.env.local, so each branch can carry its own openspec state.
…workflow setup-uv downloads the uv binary from GitHub release assets; the harden-runner egress block was rejecting it. Adds the host to the allow-list alongside the other GitHub endpoints.
The renovate-config-validator hook (renovatebot/pre-commit-hooks) is node-based and resolves its npm package set against registry.npmjs.org during the prek setup phase. Adds the host to the harden-runner allow-list alongside the GitHub and PyPI endpoints.
prek provisions a Node.js runtime for the renovate-config-validator hook (which is node-based) and downloads the binary from nodejs.org. Adds the host to the harden-runner allow-list.
35d1aa8 to
fb97f65
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Prowler ships seven dependency ecosystems (Poetry SDK, uv API + MCP, pnpm UI, root pip, Docker, GitHub Actions, Helm, pre-commit) but only root
pipandgithub-actionsare automated today — monthly via the partly-disabled.github/dependabot.yml. Everything else moves by hand, so security updates lag, cadence is ad-hoc, and CODEOWNERS/labeler infrastructure is under-leveraged.This PR introduces the Renovate baseline declared in
openspec/changes/add-renovate-config/(proposal, design, specs). The config is inert until an org admin installs the Mend Renovate App onprowler-cloud/prowler— follow-up step tracked in the OpenSpec change § 3.Description
Adds three pieces of CI infrastructure:
.github/renovate.json— baseline config extendingconfig:best-practicesplus five additional targeted presets (:enablePreCommit,security:openssf-scorecard,docker:enableMajor,customManagers:githubActionsVersions,customManagers:dockerfileVersions) and four helpers (:semanticCommits,:enableVulnerabilityAlertsWithLabel(security),helpers:pinGitHubActionDigestsToSemver,helpers:disableTypesNodeMajor). Key behaviors:Europe/Madrid: patches on day 1, minors on day 8 (every 2 months), majors on day 15 (every 3 months), all in the 22:00–06:00 overnight window.:enableVulnerabilityAlertsWithLabel(security)) AND rate caps (viavulnerabilityAlerts: { prHourlyLimit: 0, prConcurrentLimit: 0 }). For a security product, a coordinated CVE disclosure burst must never be throttled by the normal operational queue (default rate caps of 2 PRs/hour and 10 concurrent PRs).github-actions,docker,pre-commit hooks,helm charts, plus per-component Python + UI groups.semanticCommitScopeper component:ui/api/mcp/sdk/ci/docker/pre-commit/helm(matches the repo's commit convention, not Renovate's defaultdeps).no-changeloglabel auto-applied only to non-user-facing categories (github-actions, docker, pre-commit hooks, helm charts, lockfile maintenance, UI devDependencies).minimumReleaseAge: 7 days,rangeStrategy: pin,prConcurrentLimit: 10,prHourlyLimit: 2,baseBranches: ["master"], no auto-merge..pre-commit-config.yaml— adds the officialrenovatebot/pre-commit-hooks@43.150.0renovate-config-validatorhook scoped to^\.github/renovate\.json$. Renovate'spre-commitmanager (enabled via:enablePreCommit) will track and bump thisrev:alongside the rest of the pre-commit hook bumps..github/workflows/renovate-config-validate.yml— mirror gate for contributors without a local prek installation. Triggers on PRs touching.github/renovate.jsonor.pre-commit-config.yaml. Runs the same hook viaprek run renovate-config-validator, withprekitself pinned viaPREK_VERSION: '0.4.0'env (tracked bycustomManagers:githubActionsVersions). All actionuses:are SHA-pinned per repo convention; passes zizmor audit.Full rationale and decision log is in
openspec/changes/add-renovate-config/design.md(D1–D12) and the spec deltas inopenspec/changes/add-renovate-config/specs/ci-dependency-automation/spec.md.This branch also includes a small maintenance commit unrelated to Renovate itself:
chore(worktree): include openspec/ in copy-ignored allowlist.Steps to review
openspec/changes/add-renovate-config/proposal.mdfor the why anddesign.md§ D1–D12 for each decision (presets selected, presets intentionally absent, scheduling, grouping, scopes, validation gate, vulnerability alerts bypass)..github/renovate.jsonagainst the design's reference config and againstspecs/ci-dependency-automation/spec.mdrequirements.prek run renovate-config-validator --files .github/renovate.json— must exit zero. Break a closing brace to confirm it exits non-zero.chore(<scope>): …titles; sample titles indesign.md§ D11 mapping table."rangeStrategy": "pin"plus inheriteddocker:pinDigestsand:pinDevDependenciesfromconfig:best-practicesplushelpers:pinGitHubActionDigestsToSemverfor GH Actions SHA-pins with# v<semver>comments preserved.vulnerabilityAlerts: { prHourlyLimit: 0, prConcurrentLimit: 0 }exempts CVE-driven PRs from the operational rate caps so a coordinated disclosure burst is never queued behind routine bumps.prowler-cloud/prowler. Tasks § 3 in the OpenSpec change list the follow-up verification.Checklist
Community Checklist
renovate-config-validator(pre-commit + CI workflow) acts as the schema test for.github/renovate.json; zizmor audit covers the new workflow.openspec/changes/add-renovate-config/.baseBranches: ["master"]only by design (see § D8).no-changeloglabel (CI tooling only).SDK/CLI
UI
ui/package.jsonchange.API
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.