name: Spelling check for docs (Vale) on: workflow_dispatch: push: branches: - main - "release/**" paths: - "docs/**" pull_request: paths: - "docs/**" jobs: vale: runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 with: ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }} - name: Vale uses: errata-ai/vale-action@91ac403e8d26f5aa1b3feaa86ca63065936a85b6 # tag=reviewdog with: files: docs/docs fail_on_error: true