File tree Expand file tree Collapse file tree 3 files changed +77
-0
lines changed
Expand file tree Collapse file tree 3 files changed +77
-0
lines changed Original file line number Diff line number Diff line change 1+ name-template : ' v$RESOLVED_VERSION'
2+ tag-template : ' v$RESOLVED_VERSION'
3+ template : |
4+ # What's Changed
5+
6+ $CHANGES
7+
8+ **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
9+
10+
11+ categories :
12+ - title : ' New'
13+ label : ' Type: Feature'
14+
15+ - title : ' Bug Fixes'
16+ label : ' Type: Bug'
17+
18+ - title : ' Improvements'
19+ label : ' Type: Enhancement'
20+
21+ - title : ' Other changes'
22+
23+ - title : ' Documentation'
24+ label : ' Documentation'
25+ collapse-after : 5
26+
27+
28+ version-resolver :
29+ major :
30+ labels :
31+ - ' Type: Breaking'
32+ minor :
33+ labels :
34+ - ' Type: Feature'
35+ patch :
36+ labels :
37+ - ' Type: Bug'
38+ - ' Documentation'
39+ - ' Type: Security'
40+
41+ exclude-labels :
42+ - ' Skip-Changelog'
Original file line number Diff line number Diff line change 11labels :
2+ - name : " Type: Breaking"
3+ color : a90000
4+ description : A problem or enhancement related to a breaking change.
5+
26 - name : " Type: Bug"
37 color : e80c0c
48 description : Something isn't working as expected.
@@ -78,3 +82,7 @@ labels:
7882 - name : " Os: Linux"
7983 color : AEB1C2
8084 description : Is Linux-specific
85+
86+ - name : " Skip-Changelog"
87+ color : AEB1C2
88+ description : Skip changelog in release tag
Original file line number Diff line number Diff line change 1+ name : Release Drafter
2+
3+
4+ on :
5+ push :
6+ branches :
7+ - main
8+
9+
10+ permissions :
11+ contents : read
12+
13+
14+ jobs :
15+ update_release_draft :
16+ permissions :
17+ contents : write
18+ pull-requests : read
19+
20+ runs-on : ubuntu-latest
21+ steps :
22+ # Drafts your next Release notes as Pull Requests are merged into "master"
23+ - uses : release-drafter/release-drafter@v5
24+ with :
25+ disable-autolabeler : true
26+ env :
27+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments