parent
dfde9be056
commit
4ce10b7056
1 changed files with 3 additions and 5 deletions
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
|
|
@ -11,16 +11,14 @@ jobs:
|
|||
steps:
|
||||
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
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/
|
||||
vale --version
|
||||
|
||||
- name: Run Vale
|
||||
run: vale --fail .
|
||||
env:
|
||||
# Optional: configure Vale behavior
|
||||
VALE_MIN_ALERT_LEVEL: suggestion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue