Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 3 additions & 18 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
# Labels are applied based on PR title prefix (Conventional Commits) first,
# then fall back to changed-file globs. The title-based rules take precedence
# because they are listed first and actions/labeler applies the first match.
# Labels are applied based on PR title prefix (Conventional Commits) and branch name.
# File-based rules are intentionally omitted: they cause multiple type:* labels to be
# applied to a single PR, which leads to duplicate entries in release notes.

"type:feature":
- head-branch:
- "/^feat/"
- title:
- "/^feat(\\(.+\\))?:/i"
- changed-files:
- any-glob-to-any-file:
- "src/**"

"type:bug":
- head-branch:
Expand All @@ -30,21 +27,9 @@
- "/^test(\\(.+\\))?:/i"
- "/^refactor(\\(.+\\))?:/i"
- "/^build(\\(.+\\))?:/i"
- changed-files:
- any-glob-to-any-file:
- "build.zig"
- "build.zig.zon"
- ".gitignore"
- ".editorconfig"

"type:docs":
- head-branch:
- "/^docs/"
- title:
- "/^docs(\\(.+\\))?:/i"
- changed-files:
- any-glob-to-any-file:
- "**/*.md"
- "docs/**"
- "LICENSE*"
- "CHANGELOG*"
9 changes: 9 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ categories:
- "type:chore"
- "type:docs"
- "type:spike"
- "dependencies"
- title: "🐛 Bug Fixes"
labels:
- "type:bug"
Expand All @@ -42,6 +43,7 @@ categories:
- "type:chore"
- "type:docs"
- "type:spike"
- "dependencies"
- title: "🧰 Maintenance"
labels:
- "type:chore"
Expand All @@ -51,6 +53,7 @@ categories:
- "type:bug"
- "type:docs"
- "type:spike"
- "dependencies"
- title: "📝 Documentation"
labels:
- "type:docs"
Expand All @@ -59,9 +62,15 @@ categories:
- "type:bug"
- "type:chore"
- "type:spike"
- "dependencies"
- title: "🔬 Spikes & Research"
labels:
- "type:spike"
exclude-labels:
- "dependencies"
- title: "⬆️ Dependency Updates"
labels:
- "dependencies"

change-template: "- $TITLE (#$NUMBER) @$AUTHOR"
change-title-escapes: '\<*_&'
Expand Down
Loading