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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 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