@@ -82,42 +82,55 @@ changelog:
82
82
use : github
83
83
filters :
84
84
exclude :
85
- - " ^test:"
86
- - " ^test\\ ("
87
- - " merge conflict"
88
- - Merge pull request
89
- - Merge remote-tracking branch
90
- - Merge branch
91
- - go mod tidy
92
- - " ^更新文件"
93
- - " ^测试"
94
- - " ^测试\\ ("
85
+ - " ^test(:|\\ ()" # 排除以 "test:" 或 "test(" 开头的提交
86
+ - " merge conflict" # 排除包含 "merge conflict"
87
+ - " Merge (pull request|remote-tracking branch|branch)"
88
+ - " go mod tidy" # 排除 "go mod tidy"
89
+ - " ^更新文件" # 排除以 "更新文件" 开头的提交
90
+ - " ^测试(:|\\ ()" # 排除以 "测试:" 或 "测试(" 开头的提交
91
+
95
92
groups :
96
- - title : Dependency updates
97
- regexp : ' ^.*?(.+)\(deps\)!?:.+$'
98
- order : 300
99
93
- title : " New Features"
100
- regexp : ' ^.*?feat(\(.+\))??!?: .+$'
94
+ regexp : ' ^.*?( feat|功能|新增|feature) (\(.+\))??!?[:\s]? .+$'
101
95
order : 100
102
- - title : " Security updates"
103
- regexp : ' ^.*?sec(\(.+\))??!?:.+$'
96
+
97
+ - title : " Bug fixes"
98
+ regexp : ' ^.*?(fix|修复|bug|错误|bugfix)(\(.+\))??!?[:\s]?.+$'
104
99
order : 200
105
- - title : " Config updates"
106
- regexp : ' ^.*?(config)(\(.+\))??!?:.+$'
100
+
101
+ - title : " Security updates"
102
+ regexp : ' ^.*?(sec|安全|漏洞|security)(\(.+\))??!?[:\s]?.+$'
103
+ order : 300
104
+
105
+ - title : " Dependency updates"
106
+ regexp : ' ^.*?(deps|依赖|dependency)(\(.+\))??!?[:\s]?.+$'
107
+ order : 400
108
+
109
+ - title : " Documentation updates"
110
+ regexp : ' ^.*?(docs?|文档|说明|documentation|注释)(\(.+\))??!?[:\s]?.+$'
107
111
order : 500
108
- - title : " Bug fixes"
109
- regexp : ' ^.*?(fix|refactor|修复|bug)(\(.+\))??!?[:]?.+$'
112
+
113
+ - title : " Translation updates"
114
+ regexp : ' ^.*?(i18n|翻译|localization|国际化|本地化)(\(.+\))??!?[:\s]?.+$'
110
115
order : 600
116
+
111
117
- title : " Code Optimization"
112
- regexp : ' ^.*?(optmization|code|优化)(\(.+\))??!?[:\s].+$'
113
- order : 300
114
- - title : " Documentation updates"
115
- regexp : ^.*?docs?(\(.+\))??!?:.+$
116
- order : 400
117
- - title : " Build process updates"
118
- regexp : ^.*?(build|ci)(\(.+\))??!?:.+$
118
+ regexp : ' ^.*?(optimization|优化|性能|代码|performance|refactor)(\(.+\))??!?[:\s]?.+$'
119
119
order : 700
120
- - title : Other work
120
+
121
+ - title : " Config updates"
122
+ regexp : ' ^.*?(config|配置|configuration)(\(.+\))??!?[:\s]?.+$'
123
+ order : 800
124
+
125
+ - title : " Build process updates"
126
+ regexp : ' ^.*?(build|ci|构建|持续集成)(\(.+\))??!?[:\s]?.+$'
127
+ order : 900
128
+
129
+ - title : " Test-related changes"
130
+ regexp : ' ^.*?(test|测试|单元测试|集成测试)(\(.+\))??!?[:\s]?.+$'
131
+ order : 950
132
+
133
+ - title : " Other work"
121
134
order : 9999
122
135
123
136
release :
0 commit comments