From a18e8ac20d8aced985f9881d4ff3fbb9a250f01d Mon Sep 17 00:00:00 2001 From: Otto winter Date: Mon, 21 Jun 2021 21:28:43 +0200 Subject: [PATCH] Fix protoc-update bash error second attempt --- .github/workflows/protoc-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"