Skip to content

Commit

Permalink
chore(config): migrate config .github/renovate.json (#829)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 25, 2024
1 parent 73bf41f commit 60b2c92
Showing 1 changed file with 51 additions and 17 deletions.
68 changes: 51 additions & 17 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,63 @@
{
"$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"
],
"separateMultipleMajor": true,
"packageRules": [
{
"groupName": "Ansible collections",
"matchManagers": [
"ansible-galaxy",
"regex"
"custom.regex"
]
}
],
"ansible-galaxy": {
"fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.ya?ml$"],
"fileMatch": [
"(^|/)[\\w-]*requirements([_.]\\w+)?\\.ya?ml$"
],
"packageRules": [
{
"automerge": true,
"matchCurrentVersion": "!/^0/",
"matchUpdateTypes": ["minor", "patch"]
"matchUpdateTypes": [
"minor",
"patch"
]
}
]
},
"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 @@ -49,34 +68,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 60b2c92

Please sign in to comment.