Skip to content

Commit

Permalink
chore: Use Renovate to update README dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alessfg committed Nov 25, 2024
1 parent 28c6473 commit 59c54da
Showing 1 changed file with 34 additions and 23 deletions.
57 changes: 34 additions & 23 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,64 +5,75 @@
"prConcurrentLimit": 0,
"prHourlyLimit": 0,
"schedule": ["* 0-7 * * 1"],
"packageRules": [
{
"groupName": "Ansible collections",
"managers": [
"ansible-galaxy",
"regex"
],
"additionalBranchPrefix": "",
"automerge": true,
"matchCurrentVersion": "!/^0/",
"matchUpdateTypes": ["minor", "patch"]
}
],
"ansible-galaxy": {
"fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.ya?ml$"],
"packageRules": [
{
"matchPackageNames": ["*"],
"groupName": "Ansible collections"
},
{
"matchUpdateTypes": ["minor", "patch"],
"matchCurrentVersion": "!/^0/",
"automerge": true
}
]
"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+)"],
"versioningTemplate": "semver"
}
],
"dockerfile": {
"ignorePaths": ["molecule/**/Dockerfile.j2"]
},
"github-actions": {
"addLabels": ["skip-changelog"],
"packageRules": [
{
"groupName": "GitHub Actions",
"matchPackageNames": [
"actions/**",
"github/**"
],
"groupName": "GitHub Actions"
]
},
{
"matchPackageNames": ["docker/**"],
"groupName": "Docker Actions"
"groupName": "Docker Actions",
"matchPackageNames": ["docker/**"]
},
{
"enabled": false,
"matchUpdateTypes": ["digest"]
},
{
"automerge": true,
"matchUpdateTypes": ["minor", "patch"],
"matchCurrentVersion": "!/^0/",
"automerge": true
"matchCurrentVersion": "!/^0/"
}
]
},
"pip_requirements": {
"fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.(txt|pip)$"],
"packageRules": [
{
"matchPackageNames": ["*"],
"groupName": "Python dependencies"
"groupName": "Python dependencies",
"matchPackageNames": ["*"]
},
{
"matchPackageNames": ["ansible-core"],
"groupName": "Ansible core",
"matchPackageNames": ["ansible-core"],
"separateMinorPatch": true
},
{
"automerge": true,
"matchUpdateTypes": ["patch"],
"matchCurrentVersion": "!/^0/",
"automerge": true
"matchCurrentVersion": "!/^0/"
}
]
}
Expand Down

0 comments on commit 59c54da

Please sign in to comment.