mirror of
https://github.com/thegeeklab/renovate-presets.git
synced 2024-11-14 18:30:40 +00:00
62 lines
1.9 KiB
JSON
62 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"description": ["Base preset for use with thegeeklab repos"],
|
|
"extends": [
|
|
"config:recommended",
|
|
":dependencyDashboard",
|
|
":semanticCommits",
|
|
":semanticCommitScope(deps)",
|
|
"docker:enableMajor",
|
|
":masterIssue",
|
|
"group:linters",
|
|
":maintainLockFilesWeekly"
|
|
],
|
|
"branchNameStrict": false,
|
|
"docker": {
|
|
"pinDigests": true
|
|
},
|
|
"packageRules": [
|
|
{
|
|
"description": "Automerge docs theme updates",
|
|
"extends": ["schedule:daily"],
|
|
"matchDatasources": ["github-releases"],
|
|
"matchPackagePatterns": ["^thegeeklab/hugo-(geekdoc|geekblog)"],
|
|
"matchUpdateTypes": ["minor", "patch"],
|
|
"automerge": true
|
|
},
|
|
{
|
|
"description": "Automerge hugo ci updates",
|
|
"extends": ["schedule:weekly"],
|
|
"matchManagers": ["woodpecker"],
|
|
"matchPackageNames": ["quay.io/thegeeklab/hugo"],
|
|
"matchUpdateTypes": ["patch"],
|
|
"automerge": true
|
|
},
|
|
{
|
|
"description": "Automerge dev dependencies",
|
|
"extends": ["schedule:weekly"],
|
|
"groupName": "devDeps non-major",
|
|
"matchDepTypes": ["devDependencies", "dev-dependencies", "dev"],
|
|
"matchUpdateTypes": ["pin", "digest", "patch", "minor"],
|
|
"automerge": true
|
|
}
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": ["^Makefile$"],
|
|
"matchStrings": [
|
|
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( registryUrl=(?<registryUrl>.*?))?( versioning=(?<versioning>.*?))?\\n.*?_VERSION (:|\\?)= (?<currentValue>.*)\\s"
|
|
]
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": [".drone.env"],
|
|
"matchStrings": [
|
|
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( registryUrl=(?<registryUrl>.*?))?( versioning=(?<versioning>.*?))?\\nexport .*?_VERSION=\"\\${.*:-(?<currentValue>.*)}\"\\s"
|
|
]
|
|
}
|
|
],
|
|
"ignorePaths": ["**/.drone.[^env]*"]
|
|
}
|