Skip to content

Commit d3c383c

Browse files
committed
ci: move configuration to workflow file
1 parent d480a94 commit d3c383c

1 file changed

Lines changed: 77 additions & 1 deletion

File tree

.github/workflows/create_release.yml

Lines changed: 77 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,83 @@ jobs:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
with:
2929
mode: HYBRID
30-
configuration: release_config.json
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+
}
31107
32108
- name: Create Release
33109
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)