Skip to content

Commit 3695027

Browse files
upd 3
1 parent aae4841 commit 3695027

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,18 @@ jobs:
8181
fromTag: ${{ steps.get_new_version.outputs.latest_existing_tag == 'v0.0.0' && '' || steps.get_new_version.outputs.latest_existing_tag }}
8282
toTag: ${{ steps.get_new_version.outputs.new_release_version }}
8383
configurationJson: |
84-
{
85-
"template": "# Changes\n\n{{CHANGELOG}}", # <-- CRITICAL: No {{UNCATEGORIZED}} here
86-
"exclude_labels": ["skip-changelog", "duplicate", "wip"],
87-
"commit_mode": false # Keep this as false if you ONLY want PRs
88-
}
84+
{
85+
"template": "# Changes\n\n{{CHANGELOG}}",
86+
"categories": [
87+
{
88+
"title": "",
89+
"labels": ["*"]
90+
"include": []
91+
}
92+
],
93+
"exclude_labels": ["skip-changelog", "duplicate"], # Labels to explicitly exclude from the changelog
94+
"commit_mode": false # Ensure it processes PRs, not just commits
95+
}
8996
env:
9097
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9198

0 commit comments

Comments
 (0)