workflows: add missing git subcommand

This commit is contained in:
Dawid Dziurla 2020-08-22 00:21:50 +02:00 committed by GitHub
parent aecea298ea
commit dc56b53392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ jobs:
git checkout -B tapioca-update git checkout -B tapioca-update
git reset origin/master git reset origin/master
git add sorbet git add sorbet
if ! git --no-patch --exit-code HEAD -- sorbet; then if ! git diff --no-patch --exit-code HEAD -- sorbet; then
if ! git ls-remote --exit-code --heads origin tapioca-update; then if ! git ls-remote --exit-code --heads origin tapioca-update; then
git commit -m "sorbet: update RBI files using Tapioca." -m "Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml)." git commit -m "sorbet: update RBI files using Tapioca." -m "Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml)."
echo "::set-output name=committed::true" echo "::set-output name=committed::true"