mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-22 13:21:07 -05:00
810f86582d
* deps: update Kubernetes versions * e2e: run vale with python venv --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Markus Rudy <mr@edgeless.systems>
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
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@91ac403e8d26f5aa1b3feaa86ca63065936a85b6 # tag=reviewdog
|
|
with:
|
|
files: docs/docs
|
|
fail_on_error: true
|