ad-m / github-push-action

GitHub actions to push back to repository eg. updated code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

abcfy2 opened this issue · comments

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.

Never mind. It's not this action fault.

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