summaryrefslogtreecommitdiffstats
path: root/.github/renovate.json
diff options
context:
space:
mode:
Diffstat (limited to '.github/renovate.json')
-rw-r--r--.github/renovate.json64
1 files changed, 64 insertions, 0 deletions
diff --git a/.github/renovate.json b/.github/renovate.json
new file mode 100644
index 0000000..1fca10e
--- /dev/null
+++ b/.github/renovate.json
@@ -0,0 +1,64 @@
+{
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
+ "extends": [
+ "config:base",
+ ":enablePreCommit",
+ ":prConcurrentLimit20",
+ ":preserveSemverRanges",
+ ":semanticPrefixChore"
+ ],
+ "ignorePresets": [
+ ":dependencyDashboard",
+ ":ignoreModulesAndTests",
+ ":semanticPrefixFixDepsChoreOthers"
+ ],
+ "semanticCommits": "enabled",
+ "commitMessageTopic": "{{depName}}",
+ "dockerfile": {
+ "enabled": false
+ },
+ "pip_requirements": {
+ "fileMatch": [
+ "(^|/)requirements[\\w-]*\\.txt$"
+ ]
+ },
+ "regexManagers": [
+ {
+ "fileMatch": ["^\\.pre-commit-config\\.yaml$"],
+ "matchStrings": ["(?<depName>[\\w-]+)(?<currentValue>==[a-z0-9.]+)"],
+ "datasourceTemplate": "pypi"
+ }
+ ],
+ "packageRules": [
+ {
+ "matchFiles": ["test/requirements.txt"],
+ "semanticCommitType": "test"
+ },
+ {
+ "matchManagers": ["pre-commit"],
+ "commitMessageTopic": "{{depName}}",
+ "semanticCommitScope": "pre-commit"
+ },
+ {
+ "matchPackagePatterns": ["(^|/)gitlint$"],
+ "versioning": "pep440",
+ "groupName": "gitlint"
+ },
+ {
+ "matchPackageNames": ["perltidy/perltidy"],
+ "versioning": "regex:^(?<major>\\d{8})$"
+ },
+ {
+ "matchPackagePatterns": ["(^|/)ruff(-pre-commit)?$"],
+ "groupName": "ruff",
+ "versioning": "pep440"
+ },
+ {
+ "matchPackageNames": [
+ "scop/pre-commit-shfmt",
+ "shellcheck-py/shellcheck-py"
+ ],
+ "versioning": "loose"
+ }
+ ]
+}