.github/main.workflow.sh: exit cleanly on no changes (#38465)
parent
46ca97228a
commit
30a4e37629
|
@ -49,5 +49,6 @@ ruby -e "load Gem.bin_path('rake', 'rake')"
|
|||
|
||||
# commit and push generated files
|
||||
git add _data/formula api/formula formula
|
||||
git commit -m 'formula: update from Homebrew/core push' _data/analytics _data/formula api/formula formula
|
||||
git diff --exit-code HEAD -- _data/analytics _data/formula api/formula formula cask && exit 0
|
||||
git commit -m 'formula: update from Homebrew/homebrew-core push' _data/analytics _data/formula api/formula formula
|
||||
git push
|
||||
|
|
Loading…
Reference in New Issue