0
0
mirror of https://github.com/thegeeklab/renovate-presets.git synced 2024-11-10 23:10:40 +00:00
renovate-presets/base.json

51 lines
1.5 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": ["Base preset for use with thegeeklab repos"],
"extends": [
"config:base",
":dependencyDashboard",
":semanticCommits",
":semanticCommitScope(deps)",
"docker:enableMajor",
":masterIssue",
"group:linters",
":maintainLockFilesWeekly"
],
"branchNameStrict": false,
"docker": {
"pinDigests": true
},
"packageRules": [
{
"description": "Automerge docs theme updates",
"matchDatasources": ["github-releases"],
"matchPackagePatterns": ["^thegeeklab/hugo-(geekdoc|geekblog)"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"description": "Automerge dev dependencies",
"groupName": "devDeps non-major",
"matchDepTypes": ["devDependencies", "dev-dependencies", "dev"],
"matchUpdateTypes": ["pin", "digest", "patch", "minor"],
"automerge": true,
"extends": ["schedule:weekly"]
}
],
"regexManagers": [
{
"fileMatch": ["^Makefile$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\n.*?_VERSION (:|\\?)= (?<currentValue>.*)\\s"
]
},
{
"fileMatch": [".drone.env"],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\nexport .*?_VERSION=\"\\${.*:-(?<currentValue>.*)}\"\\s"
]
}
],
"ignorePaths": ["**/.drone.[^env]*"]
}