Skip to content

Commit 40e7780

Browse files
committed
add config to workflow
1 parent 102fb27 commit 40e7780

File tree

1 file changed

+24
-7
lines changed

1 file changed

+24
-7
lines changed

.github/workflows/changelog-ci.yml

+24-7
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,29 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Build Changelog
13-
id: github_release
1413
uses: mikepenz/release-changelog-builder-action@v4
15-
env:
16-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17-
18-
- name: Create Release
19-
uses: mikepenz/action-gh-release@v0.2.0-a03 #softprops/action-gh-release
2014
with:
21-
body: ${{steps.github_release.outputs.changelog}}
15+
configurationJson: |
16+
{
17+
"template": "#{{CHANGELOG}}\n\n<details>\n<summary>Uncategorized</summary>\n\n#{{UNCATEGORIZED}}\n</details>",
18+
"categories": [
19+
{
20+
"title": "Bug Fixes",
21+
"labels": ["Bug Fix"]
22+
},
23+
{
24+
"title": "Code Enhancements",
25+
"labels": ["Enhancement"]
26+
},
27+
{
28+
"title": "New Features",
29+
"labels": ["New Feature"]
30+
},
31+
{
32+
"title": "Documentation Updates",
33+
"labels": ["Documentation", "Example"]
34+
}
35+
]
36+
}
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)