.github/main.workflow.sh: exit cleanly on no changes (#38465)

master
Mike McQuaid 2019-03-28 21:05:30 +00:00 committed by GitHub
parent 46ca97228a
commit 30a4e37629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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