diff --git a/.github/workflows/all-contributors.yaml b/.github/workflows/all-contributors.yaml index d6ff728807..23ef4570d3 100644 --- a/.github/workflows/all-contributors.yaml +++ b/.github/workflows/all-contributors.yaml @@ -59,8 +59,7 @@ jobs: git config --global user.email "sre-ci-robot@zilliz.com" git config --global user.name "sre-ci-robot" git add -u - git commit -s -m 'Update all contributors' - git push + git diff-index --cached --quiet HEAD || (git commit -s -m 'Update all contributors' && git push)