From e636d1ba80e921ce3cf4ed03b3af500930b2bd27 Mon Sep 17 00:00:00 2001 From: "Marcus R. Brown" Date: Sat, 21 Dec 2024 14:27:36 -0700 Subject: [PATCH] feat: add `labels` preset and extend from `internal` (#1125) --- internal.json5 | 1 + labels.json5 | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 labels.json5 diff --git a/internal.json5 b/internal.json5 index 419dc72..18302e4 100644 --- a/internal.json5 +++ b/internal.json5 @@ -9,6 +9,7 @@ 'github>microsoft/m365-renovate-config:groupReact#v2.6.1', 'github>microsoft/m365-renovate-config:groupRollup#v2.6.1', 'github>bfra-me/renovate-config:group/vite', + 'github>bfra-me/renovate-config:labels.json5', 'github>bfra-me/renovate-config:maintenance/security', 'github>bfra-me/renovate-config:maintenance/weeklyLockFileUpdates', 'github>bfra-me/renovate-config:vendors/elstudio', diff --git a/labels.json5 b/labels.json5 new file mode 100644 index 0000000..cdc7e81 --- /dev/null +++ b/labels.json5 @@ -0,0 +1,21 @@ +{ + $schema: 'https://docs.renovatebot.com/renovate-schema.json', + description: 'Add PR labels.', + addLabels: ['dependencies'], + dotnet: { + addLabels: ['.NET'], + }, + 'github-actions': { + addLabels: ['github-actions'], + }, + js: { + addLabels: ['javascript'], + }, + 'pre-commit': { + addLabels: ['pre-commit'], + enabled: true, + }, + python: { + addLabels: ['python'], + }, +}