File tree Expand file tree Collapse file tree 2 files changed +98
-0
lines changed Expand file tree Collapse file tree 2 files changed +98
-0
lines changed Original file line number Diff line number Diff line change
1
+ exclude-labels :
2
+ - skip changelog
3
+
4
+ name-template : ' v$RESOLVED_VERSION'
5
+ tag-template : ' v$RESOLVED_VERSION'
6
+
7
+ change-template : ' - $TITLE (#$NUMBER)'
8
+ change-title-escapes : ' \<*_&'
9
+ replacers :
10
+ # Remove conventional commits from titles
11
+ - search : ' /- (build|chore|ci|depr|docs|feat|fix|perf|refactor|test)(\(.*\))?(\!)?\: /g'
12
+ replace : ' - '
13
+
14
+ autolabeler :
15
+ - label : breaking
16
+ title :
17
+ # Example: feat!: ...
18
+ - ' /^(build|chore|ci|depr|docs|feat|fix|perf|refactor|test)(\(.*\))?\!\: /'
19
+ - label : build
20
+ title :
21
+ - ' /^build/'
22
+ - label : internal
23
+ title :
24
+ - ' /^(chore|ci|refactor|test)/'
25
+ - label : deprecation
26
+ title :
27
+ - ' /^depr/'
28
+ - label : documentation
29
+ title :
30
+ - ' /^docs/'
31
+ - label : enhancement
32
+ title :
33
+ - ' /^feat/'
34
+ - label : fix
35
+ title :
36
+ - ' /^fix/'
37
+ - label : performance
38
+ title :
39
+ - ' /^perf/'
40
+
41
+ categories :
42
+ - title : 🏆 Highlights
43
+ labels : highlight
44
+ - title : 💥 Breaking changes
45
+ labels :
46
+ - breaking
47
+ - title : 🚀 Performance improvements
48
+ labels : performance
49
+ - title : ✨ Enhancements
50
+ labels : enhancement
51
+ - title : 🐞 Bug fixes
52
+ labels : fix
53
+ - title : 📖 Documentation
54
+ labels : documentation
55
+ - title : 📦 Build system
56
+ labels : build
57
+ - title : 🛠️ Other improvements
58
+ labels :
59
+ - deprecation
60
+ - internal
61
+
62
+ version-resolver :
63
+ minor :
64
+ labels :
65
+ - breaking
66
+ default : patch
67
+
68
+ template : |
69
+ $CHANGES
Original file line number Diff line number Diff line change
1
+ name : Update draft releases
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ workflow_dispatch :
8
+ inputs :
9
+ # Latest commit to include with the release. If omitted, use the latest commit on the main branch.
10
+ sha :
11
+ description : Commit SHA
12
+ type : string
13
+
14
+ permissions :
15
+ contents : write
16
+ pull-requests : read
17
+
18
+ jobs :
19
+ main :
20
+ runs-on : ubuntu-latest
21
+ steps :
22
+ - name : Draft release
23
+ uses : release-drafter/release-drafter@v5
24
+ with :
25
+ config-name : release-drafter.yml
26
+ commitish : ${{ inputs.sha || github.sha }}
27
+ disable-autolabeler : true
28
+ env :
29
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments