From dc56b53392cc005e282b470d03364b66f41808a5 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Sat, 22 Aug 2020 00:21:50 +0200 Subject: [PATCH] workflows: add missing git subcommand --- .github/workflows/tapioca.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tapioca.yml b/.github/workflows/tapioca.yml index f883c94c53..6583afbab4 100644 --- a/.github/workflows/tapioca.yml +++ b/.github/workflows/tapioca.yml @@ -42,7 +42,7 @@ jobs: git checkout -B tapioca-update git reset origin/master 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 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"