Skip to content

Commit bb95676

Browse files
authored
ci: add release.yml for categorized release notes (#28)
Adds .github/release.yml so gh release create --generate-notes (and the GitHub UI auto-generator) groups PRs by label instead of producing a flat commit list. Categories: Breaking Changes, Features, Bug Fixes, Documentation, Dependencies, Other Changes. Excludes duplicate/invalid/wontfix. Refs opendecree/decree#145.
1 parent 5f613f9 commit bb95676

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- duplicate
5+
- invalid
6+
- wontfix
7+
categories:
8+
- title: "⚠️ Breaking Changes"
9+
labels:
10+
- breaking
11+
- title: "Features"
12+
labels:
13+
- enhancement
14+
- title: "Bug Fixes"
15+
labels:
16+
- bug
17+
- title: "Documentation"
18+
labels:
19+
- docs
20+
- documentation
21+
- title: "Dependencies"
22+
labels:
23+
- dependencies
24+
- title: "Other Changes"
25+
labels:
26+
- "*"

0 commit comments

Comments
 (0)