diff --git a/.github/workflows/protoc-update.yml b/.github/workflows/protoc-update.yml index d6440f8..b3b1ab8 100644 --- a/.github/workflows/protoc-update.yml +++ b/.github/workflows/protoc-update.yml @@ -27,7 +27,7 @@ jobs: # github actions email from here: https://github.community/t/github-actions-bot-email-address/17204 - name: Commit changes run: | - if ! git diff-index --quiet HEAD; then + if ! git diff --quiet; then git config --global user.name "github-actions[bot]" git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" git commit -am "Update protobuf files"