Skip to content

Commit 2804289

Browse files
committed
ci: configure changelog to include all commit types
1 parent 8f65be2 commit 2804289

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/publish.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,27 @@ jobs:
3232
with:
3333
github-token: ${{ secrets.GITHUB_TOKEN }}
3434
git-message: 'chore(release): {version}'
35-
preset: 'conventionalcommits'
35+
preset: |
36+
{
37+
"name": "custom",
38+
"types": [
39+
{"type": "feat", "section": "Features"},
40+
{"type": "fix", "section": "Bug Fixes"},
41+
{"type": "chore", "section": "Maintenance"},
42+
{"type": "docs", "section": "Documentation"},
43+
{"type": "style", "section": "Styling"},
44+
{"type": "refactor", "section": "Code Refactoring"},
45+
{"type": "perf", "section": "Performance"},
46+
{"type": "test", "section": "Testing"},
47+
{"type": "ci", "section": "CI/CD"},
48+
{"type": "build", "section": "Build System"}
49+
]
50+
}
3651
tag-prefix: 'v'
3752
output-file: 'CHANGELOG.md'
3853
skip-version-file: false
3954
skip-commit: false
55+
skip-on-empty: false
4056
git-user-name: ${{ secrets.CHANGELOG_GIT_NAME }}
4157
git-user-email: ${{ secrets.CHANGELOG_GIT_EMAIL }}
4258

0 commit comments

Comments
 (0)