Closed KonradHoeffner closed 3 months ago
Could this line from src/main.ts
be the culprit?
const mode = resolveMode(core.getInput('mode'), core.getInput('commitMode') === 'true')
It seems as if commitMode is compared to the string 'true' but as per documentation the boolean value true is given and then compared with the === operator. Or does the yaml library compare booleans to strings?
Commit mode is deprecated and I'd advice to transition to the mode setting: https://github.com/mikepenz/release-changelog-builder-action/blob/develop/action.yml#L45-L47
This was actually a bug and got fixed by: https://github.com/mikepenz/release-changelog-builder-action/pull/1351
Will move forward tagging a new release. apologies
v5 / v5.0.0-rc02 was released. This should work again as expected
Thank you for the swift release and reply, I switched to mode: "COMMIT" and it works perfectly!
Since upgrading this action from v4 to v5, commitMode does not work anymore.
Excerpt from our
.github/workflows/release.yml
:This used to generate one bullet point for each commit but since the upgrade to v5 it only generates one for each PR. Seeing https://github.com/mikepenz/release-changelog-builder-action/commit/db235a662798f2136557b8fea6232de1f3e81379, it seems like this got changed but not updated in README.md?
src/main.ts
looks like commitMode should be picked up but it is not recognized: