mirror of
https://github.com/thegeeklab/renovate-presets.git
synced 2024-11-21 23:10:40 +00:00
60 lines
1.9 KiB
JSON
60 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",
|
|
"matchDatasources": ["github-releases"],
|
|
"matchPackagePatterns": ["^thegeeklab/hugo-(geekdoc|geekblog)"],
|
|
"matchUpdateTypes": ["minor", "patch"],
|
|
"automerge": true
|
|
},
|
|
{
|
|
"description": "Automerge hugo ci updates",
|
|
"matchManagers": ["woodpecker"],
|
|
"matchPackageNames": ["quay.io/thegeeklab/hugo"],
|
|
"matchUpdateTypes": ["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"]
|
|
}
|
|
],
|
|
"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]*"]
|
|
}
|