From 62b6e48a9e1f010f72dab1229e7cb28c89475ff9 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Thu, 8 Aug 2024 10:56:41 +0200 Subject: [PATCH] chore(renovate): add labels and reviewer to renovate updates --- renovate.json | 60 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 23 deletions(-) diff --git a/renovate.json b/renovate.json index 2fce394a91..9fd2541f0d 100644 --- a/renovate.json +++ b/renovate.json @@ -86,8 +86,8 @@ ], "automerge": true, "matchPackageNames": [ - "ghcr.io/devcontainers/features/{/,}**", - "ghcr.io/devcontainers-contrib/features/{/,}**" + "ghcr.io/devcontainers/features/**", + "ghcr.io/devcontainers-contrib/features/**" ] }, { @@ -111,22 +111,6 @@ "versionCompatibility": "^(?[^-]+)(?-.*)?$", "versioning": "node" }, - { - "description": "Automerge renovate updates", - "matchDatasources": [ - "docker" - ], - "matchPackageNames": [ - "code.forgejo.org/forgejo-contrib/renovate", - "ghcr.io/visualon/renovate" - ], - "matchUpdateTypes": [ - "minor", - "patch", - "digest" - ], - "automerge": true - }, { "description": "x/tools/* are used in the CI only and upgraded together", "matchUpdateTypes": [ @@ -166,6 +150,34 @@ ], "automerge": true }, + { + "description": "Automerge renovate updates", + "matchDatasources": [ + "docker" + ], + "matchPackageNames": [ + "code.forgejo.org/forgejo-contrib/renovate", + "ghcr.io/visualon/renovate" + ], + "matchUpdateTypes": [ + "minor", + "patch", + "digest" + ], + "automerge": true + }, + { + "description": "Add reviewer and additional labels to renovate PRs", + "matchDatasources": [ + "docker" + ], + "matchPackageNames": [ + "code.forgejo.org/forgejo-contrib/renovate", + "ghcr.io/visualon/renovate" + ], + "reviewers": ["viceice"], + "addLabels": ["forgejo/ci", "test/not-needed"] + }, { "description": "Update renovate with higher prio to come through rate limit", "matchDatasources": [ @@ -179,6 +191,8 @@ "schedule:weekly" ], "prPriority": 10, + "reviewers": ["viceice"], + "addLabels": ["forgejo/ci", "test/not-needed"], "groupName": "renovate" }, { @@ -227,11 +241,11 @@ ], "automerge": true, "matchPackageNames": [ - "@eslint-community/{/,}**", - "@playwright/{/,}**", - "@stoplight/spectral-cli{/,}**", - "@stylistic/{/,}**", - "mcr.microsoft.com/devcontainers/{/,}**" + "@eslint-community/**", + "@playwright/**", + "@stoplight/spectral-cli", + "@stylistic/**", + "mcr.microsoft.com/devcontainers/**" ] }, {