Skip to content

Commit ae27633

Browse files
committed
add config
1 parent 4c7ff84 commit ae27633

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed

.github/workflows/changelog-ci.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: 'Changelog CI'
2-
on:
3-
push:
2+
on: [ push ]
3+
permissions:
4+
contents: read-all
5+
pull-requests: read-all
46

57
jobs:
68
release:

changelog-ci-config.json

+27-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,30 @@
2626
// "labels": ["Documentation", "Example"]
2727
// }
2828
// ]
29-
// }
29+
// }
30+
31+
- name: Build Changelog
32+
uses: mikepenz/release-changelog-builder-action@v4
33+
with:
34+
configurationJson: |
35+
{
36+
"template": "#{{CHANGELOG}}\n\n<details>\n<summary>Uncategorized</summary>\n\n#{{UNCATEGORIZED}}\n</details>",
37+
"categories": [
38+
{
39+
"title": "Bug Fixes",
40+
"labels": ["Bug Fix"]
41+
},
42+
{
43+
"title": "Code Enhancements",
44+
"labels": ["Enhancement"]
45+
},
46+
{
47+
"title": "New Features",
48+
"labels": ["New Feature"]
49+
},
50+
{
51+
"title": "Documentation Updates",
52+
"labels": ["Documentation", "Example"]
53+
}
54+
]
55+
}

0 commit comments

Comments
 (0)