Skip to content

Commit

Permalink
chore: add Renovate configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
wood-push-melon committed May 10, 2024
1 parent 524329d commit 7470734
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ repos:
rev: v0.39.0
hooks:
- id: markdownlint
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 37.353.0
hooks:
- id: renovate-config-validator
75 changes: 75 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":disableDependencyDashboard",
":automergeDigest",
":automergePatch",
":automergeMinor",
":rebaseStalePrs",
":semanticCommits",
":semanticCommitScope(deps)",
"helpers:pinGitHubActionDigests",
":enablePreCommit"
],
"automergeType": "pr",
"rebaseWhen": "behind-base-branch",
"packageRules": [
{
"groupName": "github actions",
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["major", "minor", "patch", "pin", "digest"],
"automerge": true,
"schedule": ["at any time"],
"additionalBranchPrefix": "auto-"
},
{
"groupName": "operator pip deps",
"matchManagers": ["pip_requirements"],
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"schedule": ["at any time"],
"prPriority": 5,
"additionalBranchPrefix": "auto-"
},
{
"groupName": "operator pip deps",
"matchManagers": ["pip_requirements"],
"matchUpdateTypes": ["major"],
"schedule": ["at any time"],
"prPriority": 5
},
{
"groupName": "testing pip deps",
"matchManagers": ["pip_requirements"],
"matchUpdateTypes": ["major", "minor", "patch", "pin", "digest"],
"automerge": true,
"schedule": ["at any time"],
"prPriority": 4,
"additionalBranchPrefix": "auto-"
},
{
"groupName": "testing deps",
"matchFiles": ["tox.ini"],
"matchUpdateTypes": ["major", "minor", "patch", "pin", "digest"],
"automerge": true,
"schedule": ["on monday"],
"additionalBranchPrefix": "auto-"
},
{
"groupName": "renovate packages",
"matchSourceUrlPrefixes": ["https://github.com/renovatebot/"],
"matchUpdateTypes": ["major", "minor", "patch", "pin", "digest"],
"automerge": true,
"schedule": ["at any time"],
"additionalBranchPrefix": "auto-"
},
{
"groupName": "pre-commit hooks",
"matchManagers": ["pre-commit"],
"matchUpdateTypes": ["major", "minor", "patch", "pin", "digest"],
"automerge": true,
"schedule": ["at any time"],
"additionalBranchPrefix": "auto-"
}
]
}
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ deps =
types-PyYAML
commands =
pre-commit install
pre-commit autoupdate

[testenv:fmt]
description = Apply coding style standards to code
Expand Down

0 comments on commit 7470734

Please sign in to comment.