constellation/.github/workflows/docs-vale.yml
renovate[bot] 1fe1ca3b55
deps: update GitHub action dependencies (#3941)
* deps: update GitHub action dependencies
* ci: dont update Go through renovate

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Weiße <dw@edgeless.systems>
2025-10-16 15:43:28 +02:00

32 lines
867 B
YAML

name: Spelling check for docs (Vale)
on:
workflow_dispatch:
push:
branches:
- main
- "release/**"
paths:
- "docs/**"
pull_request:
paths:
- "docs/**"
jobs:
vale:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }}
# Work around https://github.com/errata-ai/vale-action/issues/128.
- run: |
venv="$HOME/.local/share/venv"
python3 -m venv "$venv"
echo "$venv/bin" >> "$GITHUB_PATH"
- name: Vale
uses: errata-ai/vale-action@dcded780f1ff68e2558e802a165a484a4a3e2fb8 # tag=reviewdog
with:
files: docs/docs
fail_on_error: true
version: 3.9.3