Don't try to commit and push if there is nothing to commit, because git will exit with 1, failing the workflow.