diff --git a/.github/workflows/tapioca.yml b/.github/workflows/sorbet.yml similarity index 80% rename from .github/workflows/tapioca.yml rename to .github/workflows/sorbet.yml index 9f9b518243be6e2d8731c1c7c34d5416dedcf360..2266c178bb5dc8497906e7070774ace4b2bb1971 100644 --- a/.github/workflows/tapioca.yml +++ b/.github/workflows/sorbet.yml @@ -1,8 +1,8 @@ -name: Update Tapioca definitions +name: Update Sorbet-related files on: push: paths: - - .github/workflows/tapioca.yml + - .github/workflows/sorbet.yml branches-ignore: - master schedule: @@ -26,7 +26,7 @@ jobs: run: | git fetch origin - BRANCH="tapioca-update" + BRANCH="sorbet-files-update" echo "::set-output name=branch::${BRANCH}" if git ls-remote --exit-code --heads origin "$BRANCH"; then @@ -37,9 +37,9 @@ jobs: BRANCH_EXISTS="1" fi - if brew typecheck --prune-files-list --update-definitions --fail-if-not-changed; then + if brew typecheck --update --fail-if-not-changed; then git add "$GITHUB_WORKSPACE/Library/Homebrew/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)." + git commit -m "sorbet: Update RBI files and prune files.yaml." -m "Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml)." echo "::set-output name=committed::true" if [ -n "$BRANCH_EXISTS" ]; then echo "::set-output name=pull_request::true"