parent
9d642fdd95
commit
477a6a65c6
1 changed files with 4 additions and 12 deletions
16
.github/workflows/lint.yml
vendored
16
.github/workflows/lint.yml
vendored
|
|
@ -9,16 +9,8 @@ jobs:
|
|||
name: runner / vale
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||
- uses: actions/checkout@v4
|
||||
- uses: https://github.com/vale-cli/vale-action@v2
|
||||
with:
|
||||
repository: https://gugulet.hu/technical/git/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 .
|
||||
fail_on_error: true
|
||||
files: /
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue