Skip to content

Commit

Permalink
chore(config): migrate config .github/renovate.json
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Nov 25, 2024
1 parent 59c54da commit f321daa
Showing 1 changed file with 52 additions and 18 deletions.
70 changes: 52 additions & 18 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,59 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"labels": ["dependencies"],
"extends": [
"config:recommended"
],
"labels": [
"dependencies"
],
"prConcurrentLimit": 0,
"prHourlyLimit": 0,
"schedule": ["* 0-7 * * 1"],
"schedule": [
"* 0-7 * * 1"
],
"packageRules": [
{
"groupName": "Ansible collections",
"managers": [
"matchManagers": [
"ansible-galaxy",
"regex"
"custom.regex"
],
"additionalBranchPrefix": "",
"automerge": true,
"matchCurrentVersion": "!/^0/",
"matchUpdateTypes": ["minor", "patch"]
"matchUpdateTypes": [
"minor",
"patch"
]
}
],
"ansible-galaxy": {
"fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.ya?ml$"]
"fileMatch": [
"(^|/)[\\w-]*requirements([_.]\\w+)?\\.ya?ml$"
]
},
"customManagers": [
{
"customType": "regex",
"datasourceTemplate": "galaxy-collection",
"fileMatch": ["README.md"],
"matchStrings": ["- name: (?<depName>\\w+\\.\\w+)(?:\\s+#.*)?\\s+version: (?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"fileMatch": [
"README.md"
],
"matchStrings": [
"- name: (?<depName>\\w+\\.\\w+)(?:\\s+#.*)?\\s+version: (?<currentValue>\\d+\\.\\d+\\.\\d+)"
],
"versioningTemplate": "semver"
}
],
"dockerfile": {
"ignorePaths": ["molecule/**/Dockerfile.j2"]
"ignorePaths": [
"molecule/**/Dockerfile.j2"
]
},
"github-actions": {
"addLabels": ["skip-changelog"],
"addLabels": [
"skip-changelog"
],
"packageRules": [
{
"groupName": "GitHub Actions",
Expand All @@ -45,34 +64,49 @@
},
{
"groupName": "Docker Actions",
"matchPackageNames": ["docker/**"]
"matchPackageNames": [
"docker/**"
]
},
{
"enabled": false,
"matchUpdateTypes": ["digest"]
"matchUpdateTypes": [
"digest"
]
},
{
"automerge": true,
"matchUpdateTypes": ["minor", "patch"],
"matchUpdateTypes": [
"minor",
"patch"
],
"matchCurrentVersion": "!/^0/"
}
]
},
"pip_requirements": {
"fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.(txt|pip)$"],
"fileMatch": [
"(^|/)[\\w-]*requirements([_.]\\w+)?\\.(txt|pip)$"
],
"packageRules": [
{
"groupName": "Python dependencies",
"matchPackageNames": ["*"]
"matchPackageNames": [
"*"
]
},
{
"groupName": "Ansible core",
"matchPackageNames": ["ansible-core"],
"matchPackageNames": [
"ansible-core"
],
"separateMinorPatch": true
},
{
"automerge": true,
"matchUpdateTypes": ["patch"],
"matchUpdateTypes": [
"patch"
],
"matchCurrentVersion": "!/^0/"
}
]
Expand Down

0 comments on commit f321daa

Please sign in to comment.