mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-08 23:06:09 -05:00
32 lines
867 B
YAML
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.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
|