Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,13 @@ jobs:
id: generate_changelog
uses: mikepenz/release-changelog-builder-action@v5
with:
# If 'latest_existing_tag' is 'v0.0.0', fromTag becomes '',
# instructing the action to build the changelog from the very first commit.
# Otherwise, it builds from the last official release tag.
fromTag: ${{ steps.get_new_version.outputs.latest_existing_tag == 'v0.0.0' && '' || steps.get_new_version.outputs.latest_existing_tag }}
toTag: ${{ steps.get_new_version.outputs.new_release_version }}
configurationJson: |
{
"template": "# Changes\n\n{{CHANGELOG}}",
"template": "# Changes\n\n{{CHANGELOG}}", # <-- CRITICAL: No {{UNCATEGORIZED}} here
"exclude_labels": ["skip-changelog", "duplicate", "wip"],
"commit_mode": false # Explicitly set to false to ONLY capture PRs. This is the default,
# but being explicit ensures clarity.
# Do NOT set to true or "HYBRID" if you only want PRs.
"commit_mode": false # Keep this as false if you ONLY want PRs
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down