Skip to content

Notify when there was no commited changes #46

@piranna

Description

@piranna

At

echo "Working tree clean. Nothing to commit."
, if there's no content to commit, the action exit sucessfully, but there's no way to know if there were commited changes or repo is untouched. I need to know this to prevent to publish a package to npm with nightly changes if there has been no changes. Ideally Github Actions should provide a neutral output as it did in legacy version, but it got removed. Maybe one alternative would be to set an environment variable to notify this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions