Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate renovate config - autoclosed #63

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 65 additions & 40 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,82 +1,107 @@
{
extends: ["config:base"],
timezone: "Europe/Zurich",
schedule: "after 5pm on the first day of the month",
labels: ["dependencies"],
extends: [
'config:recommended',
],
timezone: 'Europe/Zurich',
schedule: 'after 5pm on the first day of the month',
labels: [
'dependencies',
],
separateMajorMinor: true,
separateMinorPatch: true,
prHourlyLimit: 0,
prConcurrentLimit: 0,
lockFileMaintenance: {
enabled: true,
automerge: true,
schedule: "after 5pm on the first day of the month",
schedule: 'after 5pm on the first day of the month',
},
baseBranches: [
'master',
],
'pre-commit': {
enabled: true,
},
baseBranches: ["master"],
"pre-commit": { enabled: true },
regexManagers: [
/** Do updates on pre-commit additional dependencies */
customManagers: [
{
fileMatch: ["^\\.pre\\-commit\\-config\\.yaml$"],
customType: 'regex',
fileMatch: [
'^\\.pre\\-commit\\-config\\.yaml$',
],
matchStrings: [
" +- '?(?<depName>[^' @=]+)(@|==)(?<currentValue>[^' @=]+)'? # (?<datasource>.+)",
],
},
],
packageRules: [
/** Auto merge the dev dependency update */
{
matchDepTypes: ["devDependencies"],
matchDepTypes: [
'devDependencies',
],
automerge: true,
},
/** Group and auto merge the patch updates */
{
matchUpdateTypes: ["patch"],
groupName: "all patch versions",
matchUpdateTypes: [
'patch',
],
groupName: 'all patch versions',
automerge: true,
},
/** Group and auto merge the minor updates */
{
matchUpdateTypes: ["minor"],
groupName: "all minor versions",
matchUpdateTypes: [
'minor',
],
groupName: 'all minor versions',
automerge: true,
},
/** Group Poetry packages */
{
matchPackagePrefixes: ["poetry-"],
groupName: "Poetry",
groupName: 'Poetry',
automerge: true,
matchDepNames: ["poetry", "pip"],
matchDepNames: [
'poetry',
'pip',
],
matchPackageNames: [
'poetry-{/,}**',
],
},
/** Accept only the patch on stabilization branches */
{
matchBaseBranches: ["/^[0-9]+\\.[0-9]+$/"],
matchBaseBranches: [
'/^[0-9]+\\.[0-9]+$/',
],
matchUpdateTypes: [
"major",
"minor",
"pin",
"digest",
"lockFileMaintenance",
"rollback",
"bump",
'major',
'minor',
'pin',
'digest',
'lockFileMaintenance',
'rollback',
'bump',
],
enabled: false,
},
/** Support the 4 parts of shellcheck-py version with a v prefix */
{
versioning: "regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)$",
matchDepNames: ["shellcheck-py/shellcheck-py"],
versioning: 'regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)$',
matchDepNames: [
'shellcheck-py/shellcheck-py',
],
},
/** Disable update of Python version in pyproject.toml */
{
matchFiles: ["pyproject.toml"],
matchFileNames: [
'pyproject.toml',
],
enabled: false,
matchDepNames: ["python"],
matchDepNames: [
'python',
],
},
/** Group and auto merge the CI dependencies */
{
matchFileNames: [".github/**", ".pre-commit-config.yaml", "ci/**"],
groupName: "CI dependencies",
matchFileNames: [
'.github/**',
'.pre-commit-config.yaml',
'ci/**',
],
groupName: 'CI dependencies',
automerge: true,
},
],
Expand Down
Loading