Skip to content

Commit 143bbcd

Browse files
Merge pull request #115 from Yuvraj-Sarathe/patch-1
Update changelog configuration with new categories
2 parents 2a35497 + 110fe08 commit 143bbcd

1 file changed

Lines changed: 21 additions & 6 deletions

File tree

.github/workflows/changelog.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,29 @@ jobs:
4040
uses: mikepenz/release-changelog-builder-action@32e3c96f29a6532607f638797455e9e98cfc703d # v4
4141
with:
4242
toTag: ${{ github.event.inputs.version || github.ref_name }}
43-
configuration: |
43+
configurationJson: |
4444
{
4545
"categories": [
46-
{ "title": "### Features", "labels": ["feature", "feat"] },
47-
{ "title": "### Fixes", "labels": ["fix", "bug"] },
48-
{ "title": "### Improvements", "labels": ["perf", "refactor"] },
49-
{ "title": "### Documentation", "labels": ["doc", "docs"] }
50-
]
46+
{ "title": "### 🚀 Features", "labels": ["feat", "feature"] },
47+
{ "title": "### 🐛 Fixes", "labels": ["fix", "bug"] },
48+
{ "title": "### 📚 Documentation", "labels": ["docs", "doc"] },
49+
{ "title": "### ⚡ Improvements", "labels": ["perf", "refactor"] },
50+
{ "title": "### 🔧 Chore & CI", "labels": ["chore", "ci", "build", "test", "style", "revert"] }
51+
],
52+
"label_extractor": [
53+
{
54+
"pattern": "^(feat|fix|docs|doc|perf|refactor|chore|ci|build|test|style|revert)(?:\\([\\w\\-\\.]+\\))?(!)?:",
55+
"on_property": "title",
56+
"target": "$1"
57+
}
58+
],
59+
"template": "#{{CHANGELOG}}",
60+
"pr_template": "- {{TITLE}} by @{{AUTHOR}} in #{{NUMBER}}",
61+
"empty_template": "- No changes",
62+
"sort": {
63+
"order": "DESC",
64+
"on_property": "mergedAt"
65+
}
5166
}
5267
env:
5368
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)