mirror of
https://github.com/thegeeklab/renovate-presets.git
synced 2024-11-25 08:10:39 +00:00
51 lines
1.6 KiB
JSON
51 lines
1.6 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+)( registryUrl=(?<registryUrl>.*?))?( versioning=(?<versioning>.*?))?\\n.*?_VERSION (:|\\?)= (?<currentValue>.*)\\s"
|
|
]
|
|
},
|
|
{
|
|
"fileMatch": [".drone.env"],
|
|
"matchStrings": [
|
|
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( registryUrl=(?<registryUrl>.*?))?( versioning=(?<versioning>.*?))?\\nexport .*?_VERSION=\"\\${.*:-(?<currentValue>.*)}\"\\s"
|
|
]
|
|
}
|
|
],
|
|
"ignorePaths": ["**/.drone.[^env]*"]
|
|
}
|