Renovate configuration for Polarion Python Repos | Read-only mirror of https://github.com/SchweizerischeBundesbahnen/casc-renovate-preset-polarion-python — 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 09:12:09 +00:00
.pre-commit-config.yaml chore(deps): update pre-commit hook commitizen-tools/commitizen to v4.20.1 2026-11-27 09:12:09 +00:00
.yamlfix.toml chore: add initial version 2024-07-02 17:07:34 +02:00
CLAUDE.md refactor: extend shared base preset, slim down to Python-specific config only 2026-03-09 10:43:02 +01:00
default.json refactor: drop internal-SBB rule now inherited from base preset (#16) 2026-06-30 00:35:58 +02:00
LICENSE Initial commit 2024-07-02 12:34:02 +02:00
MIGRATION_PLAYBOOK.md fix: bypass 3-day stabilization for security vulnerabilities 2025-11-24 23:04:42 +01:00
README.md docs: clean up README - remove bloat, keep concise 2026-03-09 14:21:25 +01:00
renovate.json chore(config): migrate renovate config (#11) 2025-04-05 13:27:41 +02:00

casc-renovate-preset-polarion-python

Renovate preset for Polarion Python repositories on GitHub

Extends casc-renovate-preset-polarion (shared base) and adds Python-specific configuration.


Quick Start

Add this to your repository's renovate.json:

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": [
    "github>SchweizerischeBundesbahnen/casc-renovate-preset-polarion-python"
  ]
}

Supported Ecosystems

Ecosystem Manager Auto-Update
Python pep621 (uv/pyproject.toml) Minor/patch (3-day wait)
Python Poetry (pyproject.toml) Minor/patch (3-day wait)
Pre-commit pre-commit All updates incl. major (grouped)
GitHub Actions github-actions All updates incl. major (grouped)

All other managers are disabled — this is a Python-specific preset.


Automerge Strategy

Inherited from the shared base preset. See base preset for full details.

Update Type Automerged? Stabilization Notes
Minor/patch ✅ Yes 3 days Requires CI to pass
Major ❌ No — Manual review required
GitHub Actions (any incl. major) ✅ Yes 3 days Grouped into one branch/PR
Pre-commit hooks (any incl. major) ✅ Yes 3 days Grouped into one branch/PR, ignoreTests: true
Security vulnerabilities ❌ No 0 days Labeled security, priority queue
Lock file maintenance ✅ Yes — Monday before 4am

Configuration Examples

Disable Poetry (uv-only repos)

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["github>SchweizerischeBundesbahnen/casc-renovate-preset-polarion-python"],
  "enabledManagers": ["pep621", "pre-commit", "github-actions", "custom.regex"]
}

Override Python Version Constraint

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["github>SchweizerischeBundesbahnen/casc-renovate-preset-polarion-python"],
  "constraints": {
    "python": ">=3.13"
  }
}

Developer Setup

# JSON syntax check
jq empty default.json

# Renovate schema validation
npx -p renovate renovate-config-validator default.json

# Run all pre-commit hooks
pre-commit run --all-files

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.

Changes to the shared base preset also affect all repos using this preset.


Maintained by: SBB Polarion Team