File tree Expand file tree Collapse file tree 2 files changed +41
-18
lines changed Expand file tree Collapse file tree 2 files changed +41
-18
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Update Changelog
2
+
3
+ on :
4
+ release :
5
+ types : [released]
6
+
7
+ jobs :
8
+ release :
9
+ if : startsWith(github.ref, 'refs/tags/')
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Build Changelog
13
+ uses : mikepenz/release-changelog-builder-action@v5
14
+ with :
15
+ mode : " PR"
16
+ configurationJson : |
17
+ {
18
+ "template": "#{{CHANGELOG}}\n\n<details>\n<summary>Uncategorized</summary>\n\n#{{UNCATEGORIZED}}\n</details>",
19
+ "categories": [
20
+ {
21
+ "title": "## Feature",
22
+ "labels": ["feat", "feature"]
23
+ },
24
+ {
25
+ "title": "## Fix",
26
+ "labels": ["fix", "bug","hotfix"]
27
+ },
28
+ {
29
+ "title": "## Other",
30
+ "labels": ["chore","refactor","dep"]
31
+ }
32
+ ],
33
+ "label_extractor": [
34
+ {
35
+ "pattern": "^(build|chore|ci|docs|feat|fix|hotfix|perf|refactor|revert|style|test|dep){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)",
36
+ "target": "$1"
37
+ }
38
+ ]
39
+ }
40
+ env :
41
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments