Skip to content

Commit

Permalink
chore: pr autolabeling improvements (#53)
Browse files Browse the repository at this point in the history
Co-authored-by: kvanzuijlen <[email protected]>
  • Loading branch information
kvanzuijlen and kvanzuijlen authored Apr 4, 2024
1 parent 99087a7 commit c613a98
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/**"
- "!**/*"
5 changes: 5 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -25,5 +26,9 @@
matchDepNames: "gcr.io/distroless/static",
groupName: "gcr.io/distroless/static",
},
{
matchManagers: ["github-actions"],
labels: ["semver:none", "kind:chore"],
},
],
}

0 comments on commit c613a98

Please sign in to comment.