mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-12 07:59:29 -05:00
8f3d6c42f2
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
32 lines
842 B
YAML
32 lines
842 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
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@2690bc95f0ed3cb5220492575af09c51b04fbea9 # tag=reviewdog
|
|
with:
|
|
files: docs/docs
|
|
fail_on_error: true
|