Fix protoc-update bash error second attempt

This commit is contained in:
Otto winter 2021-06-21 21:28:43 +02:00
parent 036207bfb0
commit a18e8ac20d
No known key found for this signature in database
GPG Key ID: 48ED2DDB96D7682C

View File

@ -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"