changelog-action
changelog-action copied to clipboard
Feature Request - no valid commits should not fail
Love the action: I use it to draft release notes with writeToFile: false
At the moment the action will fail if there are no valid commits.
when there are no valid commits it fails with:
Error: No valid commits parsed since previous tag.
I would love to be able to skip the next step (for me here drafting the release) with an if like this:
if: >-
steps.changelog.outputs.changes != 'NA'
If there are no valid commits just return 'NA' or '' when not writing to file.
This could also be just an additional mode failWhenResultEmpty: true|false
where true
is the default and the current behaviour.
Cheers, Andreas
hey @anden-dev,
might be an old issue but would you mind sharing (if you have one) a temporary workaround for this?