1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-24 08:57:03 -05:00

chore(renovate): disable renovate self-updates on release branches

This commit is contained in:
Michael Kriese 2024-09-16 08:39:26 +02:00
parent 0ccefbebfc
commit cfbcd7f60f
No known key found for this signature in database
GPG key ID: F8D7748549A5986A

View file

@ -105,33 +105,34 @@
{ {
"description": "Automerge renovate updates", "description": "Automerge renovate updates",
"matchDatasources": ["docker"], "matchDatasources": ["docker"],
"matchPackageNames": [ "matchPackageNames": ["code.forgejo.org/forgejo-contrib/renovate"],
"code.forgejo.org/forgejo-contrib/renovate",
"ghcr.io/visualon/renovate"
],
"matchUpdateTypes": ["minor", "patch", "digest"], "matchUpdateTypes": ["minor", "patch", "digest"],
"automerge": true "automerge": true
}, },
{ {
"description": "Add reviewer and additional labels to renovate PRs", "description": "Add reviewer and additional labels to renovate PRs",
"matchDatasources": ["docker"], "matchDatasources": ["docker"],
"matchPackageNames": [ "matchPackageNames": ["code.forgejo.org/forgejo-contrib/renovate"],
"code.forgejo.org/forgejo-contrib/renovate",
"ghcr.io/visualon/renovate"
],
"reviewers": ["viceice"], "reviewers": ["viceice"],
"addLabels": ["forgejo/ci", "test/not-needed"] "addLabels": ["forgejo/ci", "test/not-needed"]
}, },
{ {
"description": "Update renovate with higher prio to come through rate limit", "description": "Update renovate with higher prio to come through rate limit",
"matchDatasources": ["docker"], "matchDatasources": ["docker"],
"matchPackageNames": ["code.forgejo.org/forgejo-contrib/renovate"],
"extends": ["schedule:weekly"],
"prPriority": 10,
"groupName": "renovate"
},
{
"description": "Disable renovate self-updates for release branches",
"matchBaseBranches": ["^v\\d+\\.\\d+\\/forgejo$"],
"matchDatasources": ["docker"],
"matchPackageNames": [ "matchPackageNames": [
"code.forgejo.org/forgejo-contrib/renovate", "code.forgejo.org/forgejo-contrib/renovate",
"ghcr.io/visualon/renovate" "ghcr.io/visualon/renovate"
], ],
"extends": ["schedule:weekly"], "enabled": false
"prPriority": 10,
"groupName": "renovate"
}, },
{ {
"description": "Automerge some packages when CI succeeds", "description": "Automerge some packages when CI succeeds",