-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
bugSomething isn't workingSomething isn't working
Description
A setup for creation of a changelog is used in our GitHub actions, as follows:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Generate Changelog
uses: orhun/[email protected]
id: git-cliff
with:
config: .github/cliff.toml
args: --strip all --unreleased --ignore-tags draft-
env:
OUTPUT: CHANGELOG.md
- While the used version was v4.4.2, the "--unreleased" argument was taken into consideration, and the result came as expected - the action outputs only the latest changes, the ones not falling under any previous tags.
- When fixing to v4.5.0, the action started outputting a changelog as if it takes all changes since a long time ago, not just the last ones, since the last tag. This brings to the conclusion that the "--unreleased" argument is not parsed correctly, and the git_cliff is picking all changes, inclusive of the already tagged ones.
- On the other hand, with v4.6.0, the changelog comes out empty at all.
All above is happening on the same configs of the "cliff.toml" file, which were inspected and don't seem to have something in common with the case.
The same command arguments have been tested locally on git_cliff v2.7.0, as opposed to v2.10.0, and the behavior is equal between the two. Therefore, it seems that the difference comes from the action itself.
Change of the order of arguments has been tested with no result, as well as replacing the draft- pattern with "draft-*", again no result.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working