diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ea7563dddb7565..8ae73b5d89c5b4 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,12 +28,20 @@ jobs: - name: Lint docs working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }} run: | + set -euo pipefail + # Avoid failing on broken symlinks. rm Library/Homebrew/os/mac/pkgconfig/fuse/fuse.pc rm Library/Homebrew/os/mac/pkgconfig/fuse/osxfuse.pc + # No ignore support (https://github.com/errata-ai/vale/issues/131). + rm -r Library/Homebrew/vendor + vale . + # Restore removed files. + git reset + - name: Install Ruby uses: ruby/setup-ruby@1198b074305f9356bd56dd4b311757cc0dab2f1c # v1.175.1 with: