workflows/tapioca: no HEAD for diff
This commit is contained in:
parent
b72ee12e8e
commit
0c94fac28c
2
.github/workflows/tapioca.yml
vendored
2
.github/workflows/tapioca.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
||||
bundle exec tapioca sync --exclude json
|
||||
bundle exec srb rbi hidden-definitions
|
||||
|
||||
if ! git diff --no-patch --exit-code HEAD -- sorbet; then
|
||||
if ! git diff --no-patch --exit-code -- sorbet; then
|
||||
if ! git ls-remote --exit-code --heads origin tapioca-update >/dev/null; then
|
||||
git add sorbet
|
||||
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)."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user