Skip to content

Do not push with --allow-empty if there are no changes #28

@vsoch

Description

@vsoch

Currently, the workflows will still open a pull request or commit if there are no changes to the graphic. Although this is unlikely for an active repository, we should remove the --allow-empty and catch the error and still return success if it's not opened. There might be a better command to do the check, but first I'm just going to try adding || echo "No changes"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions