File tree Expand file tree Collapse file tree 2 files changed +12
-78
lines changed
Expand file tree Collapse file tree 2 files changed +12
-78
lines changed Original file line number Diff line number Diff line change 2727 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2828 with :
2929 mode : HYBRID
30- configurationJson : |
31- {
32- "categories": [
33- {
34- "title": "## ✨ Next Generation Features & Changes",
35- "labels": [
36- "epoch-change"
37- ]
38- },
39- {
40- "title": "## 🚧 Breaking Changes",
41- "labels": [
42- "breaking-change"
43- ]
44- },
45- {
46- "title": "## 🚀 Features",
47- "labels": [
48- "enhancement",
49- "feat"
50- ]
51- },
52- {
53- "title": "## 🐛 Fixes",
54- "labels": [
55- "fix",
56- "bug"
57- ]
58- },
59- {
60- "title": "## 🧪 Tests",
61- "labels": [
62- "test"
63- ]
64- },
65- {
66- "title": "## 📦 Misc",
67- "labels": [ ]
68- }
69- ],
70- "ignore_labels": [
71- "skip-changelog"
72- ],
73- "label_extractor": [
74- {
75- "pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)",
76- "target": "$1"
77- },
78- {
79- "pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\([\\w\\-\\.]+\\)){1}?(!)?: ([\\w ])+([\\s\\S]*)",
80- "target": "scope-$1"
81- },
82- {
83- "pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\([\\w\\-\\.]+\\))?!: ([\\w ])+([\\s\\S]*)",
84- "target": "breaking-change"
85- },
86- {
87- "pattern": "^BREAKING CHANGE:(.*)",
88- "target": "breaking-change"
89- },
90- {
91- "pattern": "^ignore(\\([\\w\\-\\.]+\\))?: ([\\w ])+([\\s\\S]*)",
92- "target": "skip-changelog"
93- }
94- ],
95- "tag_resolver": {
96- "method": "sort"
97- },
98- "sort": {
99- "order": "ASC",
100- "on_property": "mergedAt"
101- },
102- "template": "#{{CHANGELOG}}\n\n<details>\n<summary>Uncategorized</summary>\n\n#{{UNCATEGORIZED}}\n</details>",
103- "pr_template": "- #{{TITLE}} (##{{NUMBER}}) - #{{AUTHOR}}",
104- "commit_template": "- #{{TITLE}} ([`#{{MERGE_SHA}}`](${{steps.get_repo_url.outputs.REPO_URL}}/commit/#{{MERGE_SHA}}))",
105- "empty_template": "- no changes"
106- }
30+ configuration : release_config.json
10731
10832 - name : Create Release
10933 uses : softprops/action-gh-release@v2
Original file line number Diff line number Diff line change 7171 },
7272 "template" : " #{{CHANGELOG}}\n\n <details>\n <summary>Uncategorized</summary>\n\n #{{UNCATEGORIZED}}\n </details>" ,
7373 "pr_template" : " - #{{TITLE}} (##{{NUMBER}}) - #{{AUTHOR}}" ,
74- "commit_template" : " - #{{TITLE}} ([`#{{MERGE_SHA}}`](${{steps.get_repo_url.outputs.REPO_URL}}/commit/#{{MERGE_SHA}}))" ,
74+ "commit_template" : " - #{{TITLE}} ([`#{{SHORT_MERGE_SHA}}`](https://github.com/${{ github.repository }}/commit/#{{MERGE_SHA}}))" ,
75+ "custom_placeholders" : [
76+ {
77+ "name" : " SHORT_MERGE_SHA" ,
78+ "source" : " MERGE_SHA" ,
79+ "transformer" : {
80+ "pattern" : " (.*){7}(.*)?" ,
81+ "target" : " - $1"
82+ }
83+ }
84+ ]
7585 "empty_template" : " - no changes"
7686}
You can’t perform that action at this time.
0 commit comments