site/.github/workflows/lint.yml
g_it 4ce10b7056
Some checks failed
lint / runner / vale (push) Failing after 38s
.
2026-04-07 17:01:02 +02:00

24 lines
822 B
YAML
Executable file

name: lint
on:
push:
branches:
- main
jobs:
vale:
name: runner / vale
runs-on: ubuntu-latest
steps:
- uses: https://data.forgejo.org/actions/checkout@v4
with:
repository: g_it/site # Explicit: owner/repo format
token: ${{ secrets.GITHUB_TOKEN }} # Or FORGEJO_TOKEN
persist-credentials: false # Prevent credential leakage <kcite ref="2"/>
- name: Install Vale
run: |
wget -qO- https://github.com/errata-ai/vale/releases/latest/download/vale_Linux_x86_64.tar.gz | tar -xz -C /tmp
sudo mv /tmp/vale /usr/local/bin/
- name: Run Vale
run: vale --fail .