File tree Expand file tree Collapse file tree 3 files changed +88
-0
lines changed
Expand file tree Collapse file tree 3 files changed +88
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name-template : ' v$RESOLVED_VERSION'
3+ tag-template : ' v$RESOLVED_VERSION'
4+ autolabeler :
5+ - label : breaking change
6+ title :
7+ - ' /(?<!non[- ]?)breaking/i'
8+ - label : feature
9+ branch :
10+ - ' /^feature/'
11+ - label : patch fix
12+ branch :
13+ - ' /^fix/'
14+ - label : chore
15+ branch :
16+ - ' /^chore/'
17+ categories :
18+ - title : ⚠ Breaking Changes
19+ labels :
20+ - breaking change
21+ - title : Feature Changes
22+ labels :
23+ - feature
24+ - title : Fixes
25+ labels :
26+ - patch fix
27+ - title : Maintenance
28+ labels :
29+ - chore
30+ exclude-labels :
31+ - skip-changelog
32+ change-template : ' - $TITLE (@$AUTHOR) #$NUMBER'
33+ template : ' $CHANGES'
34+ no-changes-template : ' _No changes yet._'
35+ version-resolver :
36+ major :
37+ labels :
38+ - breaking change
39+ minor :
40+ labels :
41+ - minor
42+ patch :
43+ labels :
44+ - patch fix
45+ - chore
46+ default : minor
Original file line number Diff line number Diff line change 1+ ---
2+
3+ name : Draft Release
4+
5+ on :
6+ push :
7+ # Run on change of the main branch, which covers merged pull requests
8+ branches :
9+ - main
10+ - master
11+
12+ jobs :
13+ update :
14+ name : " Update"
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : release-drafter/release-drafter@v5
18+ with :
19+ # Not sure what autolabeler would do in the main branch, but it wouldn't make sense.
20+ disable-autolabeler : true
21+ env :
22+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ ---
2+
3+ name : Pull Request
4+
5+ on :
6+ pull_request :
7+ # Run on new/reopened/renamed pull requests so that autolabeling happens
8+ types : [opened, reopened, edited]
9+
10+ jobs :
11+ label :
12+ name : " Label"
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : release-drafter/release-drafter@v5
16+ with :
17+ # Don't run the releaser from the PR, because that will create a draft PR containing the current PR even though it's not merged.
18+ disable-releaser : true
19+ env :
20+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments