Skip to content

Feature Request - no valid commits should not fail #16

@anden-dev

Description

@anden-dev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions