Skip to content
Snippets Groups Projects
Unverified Commit b72ee12e authored by Dawid Dziurla's avatar Dawid Dziurla Committed by GitHub
Browse files

workflows/tapioca: add after diff

parent a9c80779
No related branches found
No related tags found
Loading
......@@ -43,10 +43,9 @@ jobs:
bundle exec tapioca sync --exclude json
bundle exec srb rbi hidden-definitions
git add sorbet
if ! git diff --no-patch --exit-code HEAD -- 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)."
echo "::set-output name=committed::true"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment