this repository will replace in the future all casc-renovate-preset-polarion-* | Read-only mirror of https://github.com/SchweizerischeBundesbahnen/casc-renovate-preset-polarion — SBB. Issues & pull requests at the source.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-27 18:32:33 +00:00
.pre-commit-config.yaml chore(deps): update pre-commit hook commitizen-tools/commitizen to v4.20.1 2026-11-27 18:32:33 +00:00
.yamlfix.toml feat: add shared base Renovate preset for all Polarion GitHub repos 2026-03-09 10:36:04 +01:00
CLAUDE.md feat: list unfixed OSV vulnerabilities in the Dependency Dashboard (#9) 2026-10-22 20:29:53 +02:00
default.json feat: list unfixed OSV vulnerabilities in the Dependency Dashboard (#9) 2026-10-22 20:29:53 +02:00
LICENSE Initial commit 2025-12-08 11:20:29 +01:00
README.md feat: list unfixed OSV vulnerabilities in the Dependency Dashboard (#9) 2026-10-22 20:29:53 +02:00
renovate.json feat: add shared base Renovate preset for all Polarion GitHub repos 2026-03-09 10:36:04 +01:00

casc-renovate-preset-polarion

Base Renovate preset for all Polarion GitHub repositories

This is the shared base preset. Use an ecosystem-specific preset instead:

Ecosystem Preset
Docker / Dockerfile casc-renovate-preset-polarion-docker
Python (uv/pep621) casc-renovate-preset-polarion-python
Java (Maven) casc-renovate-preset-polarion-java

What This Base Preset Provides

All ecosystem presets extend this and inherit:

  • config:best-practices + semantic commits
  • Branch-based automerge with platform automerge enabled
  • prCreation: not-pending — no pull request while a branch status check is still queued or running
  • internalChecksFilter: strict — enforces minimumReleaseAge strictly
  • 3-day stabilization by default, with two exceptions: internal SBB packages and images wait 0 days, and a docker or github-tags release counts as aged when it carries no timestamp
  • Lock file maintenance every Monday before 4am (automerged)
  • OSV vulnerability alerts with security label and no waiting period
  • The Dependency Dashboard lists known vulnerabilities in direct dependencies that have no fixed version yet (dependencyDashboardOSVVulnerabilitySummary: unresolved), so they are visible before a fix pull request can exist
  • Vulnerability pull requests are prioritised and bypass the rate limits — Renovate does this natively for every alert, so this preset adds no rule for it
  • Every dependency update is typed fix, except workflow actions, pre-commit hooks and lock-file updates, which stay chore

Automerge Rules (inherited by all presets)

Update Type Automerged? Stabilization Notes
Minor/patch ✅ Yes 3 days, 0 for internal SBB Requires CI to pass
Major ❌ No — Manual review required
GitHub Actions (any incl. major) ✅ Yes 3 days, none if the tag carries no timestamp Grouped into one branch/PR
Pre-commit hooks (any incl. major) ✅ Yes 3 days, none if the tag carries no timestamp Grouped into one branch/PR
Security vulnerabilities ❌ No 0 days Labeled security; Renovate prioritises these natively
Lock file maintenance ✅ Yes — Monday before 4am
Org-internal reusable workflows ⏭️ Skipped — github-workflows-polarion tracked on @main
vitest and vitest-browser-react Per update type 3 days Grouped into one branch/PR; their peer dependency pins an exact vitest major

Semantic Commit Types

fix for every dependency update, so the type does not depend on which dependency section a package happens to sit in. Upstream :semanticPrefixFixDepsChoreOthers types only runtime dependencies fix, which left Maven test scope, dev dependency groups and npm devDependencies reading chore for the same library.

Update Type
Any dependency fix
GitHub Actions chore
Pre-commit hooks chore
Lock file maintenance, lock-file-only updates chore

fix is a releasing type, so in a repository running release-please or a comparable tool a dependency bump now cuts a patch release. The three carve-outs are what keeps build and commit-gate tooling from doing the same.

Custom managers are typed fix like anything else, and deliberately have no carve-out here. ManagersMatcher compares a custom manager as custom.regex, so it matches neither the github-actions nor the pre-commit carve-out. That is the correct outcome wherever a custom manager tracks something the product ships — a pinned tool version in a Dockerfile, a wheel or model URL in pyproject.toml, a service version in versions.properties — which is about half of their use in this estate. Where a repository instead uses one for a CI-only value, such as the TC_* system-test versions or a pinned image tag in a workflow, add the carve-out in that repository:

{
  "description": "CI-only custom-manager bumps stay chore",
  "matchManagers": ["custom.regex"],
  "semanticCommitType": "chore"
}

It belongs there rather than in this preset, because a blanket carve-out would mistype every runtime case above.


Deployment

Changes to default.json are live immediately when merged to main. All consuming repositories receive updates on the next Renovate run — there is no staging environment.