Merge pull request 'chore(renovate): disable renovate self-updates on release branches' (#5335) from viceice/forgejo:chore/renovate into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5335
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
Earl Warren 2024-09-20 04:07:02 +00:00
commit 712d78984c

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",