mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-22 12:05:12 +01:00
Fix protoc-update bash error
This commit is contained in:
parent
1e19502805
commit
036207bfb0
4
.github/workflows/protoc-update.yml
vendored
4
.github/workflows/protoc-update.yml
vendored
@ -27,9 +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
|
||||
echo "No changes detected, protobuf files are up to date!"
|
||||
else
|
||||
if ! git diff-index --quiet HEAD; 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"
|
||||
|
Loading…
Reference in New Issue
Block a user