ad-m / github-push-action

GitHub actions to push back to repository eg. updated code
MIT License
1.21k stars 230 forks source link

Should not failed when `Your branch is up to date` #139

Closed abcfy2 closed 2 years ago

abcfy2 commented 2 years ago

My logic is When files changed, push them back. So it's expect that sometimes no files changed. Like this: https://github.com/DTeam-Top/st2/actions/runs/3046740142/jobs/4909922520

So don't let the step failed when nothing to commit, working tree clean.

Thanks.

abcfy2 commented 2 years ago

Never mind. It's not this action fault.

git commit -m "docs: ✏️ update coverage badge" -a || true