Skip to content

Commit

Permalink
chore: Implement Renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
alessfg committed Nov 29, 2024
1 parent b46bde1 commit f20d2f0
Showing 1 changed file with 119 additions and 0 deletions.
119 changes: 119 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"commitMessageLowerCase": "never",
"labels": [
"dependencies"
],
"prConcurrentLimit": 0,
"prHourlyLimit": 0,
"schedule": [
"* 0-7 * * 1"
],
"separateMultipleMajor": true,
"packageRules": [
{
"groupName": "Ansible collections",
"matchManagers": [
"ansible-galaxy",
"custom.regex"
]
}
],
"ansible-galaxy": {
"fileMatch": [
"(^|/)[\\w-]*requirements([_.]\\w+)?\\.ya?ml$"
],
"packageRules": [
{
"automerge": true,
"matchCurrentVersion": "!/^0/",
"matchUpdateTypes": [
"minor",
"patch"
]
}
]
},
"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": "Docker Actions",
"matchPackageNames": [
"docker/**"
]
},
{
"enabled": false,
"matchUpdateTypes": [
"digest"
]
},
{
"automerge": true,
"matchUpdateTypes": [
"minor",
"patch"
],
"matchCurrentVersion": "!/^0/"
}
]
},
"pip_requirements": {
"fileMatch": [
"(^|/)[\\w-]*requirements([_.]\\w+)?\\.(txt|pip)$"
],
"packageRules": [
{
"groupName": "Python dependencies",
"matchPackageNames": [
"*"
]
},
{
"groupName": "Ansible core",
"matchPackageNames": [
"ansible-core"
],
"separateMinorPatch": true
},
{
"automerge": true,
"matchUpdateTypes": [
"patch"
],
"matchCurrentVersion": "!/^0/"
}
]
}
}

0 comments on commit f20d2f0

Please sign in to comment.