From c613a9807c10188a8241cc2c088b6c8c5bad8387 Mon Sep 17 00:00:00 2001 From: Koen van Zuijlen <8818390+kvanzuijlen@users.noreply.github.com> Date: Thu, 4 Apr 2024 23:05:14 +0200 Subject: [PATCH] chore: pr autolabeling improvements (#53) Co-authored-by: kvanzuijlen --- .github/release-drafter.yml | 10 +++++++++- .github/renovate.json5 | 5 +++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 0d634c2..5f8af77 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -33,16 +33,24 @@ template: | autolabeler: - label: "kind:chore" title: - - "/chore/i" + - "/chore(?!\\(deps\\))/i" - label: "kind:fix" title: - "/fix/i" - label: "kind:dependencies" title: - "/dependencies/i" + - "/chore\\(deps\\)/i" + files: + - "**/*" + - "!.github/workflows/**" - label: "kind:enhancement" title: - "/enhancement/i" - label: "kind:feature" title: - "/feature/i" + - label: "semver:none" + files: + - ".github/**" + - "!**/*" diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 7b35255..d4cf5c2 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -3,6 +3,7 @@ semanticCommits: "auto", enabledManagers: ["dockerfile", "gomod", "github-actions", "custom.regex"], extends: ["config:best-practices"], + labels: ["semver:patch", "kind:dependencies"], customManagers: [ { customType: "regex", @@ -25,5 +26,9 @@ matchDepNames: "gcr.io/distroless/static", groupName: "gcr.io/distroless/static", }, + { + matchManagers: ["github-actions"], + labels: ["semver:none", "kind:chore"], + }, ], }