Skip to content

docs: add vale to project #15

docs: add vale to project

docs: add vale to project #15

Workflow file for this run

name: Lint with Vale on pull request
on:
pull_request:
types: [ opened, edited, synchronize ]
jobs:
vale:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get Changed Files
id: get_changed_files
uses: lots0logs/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Vale
uses: errata-ai/vale-action@reviewdog
with:
files: '${{ steps.get_changed_files.outputs.all }}'
fail_on_error: true
filter_mode: file
env:
GITHUB_TOKEN: ${{secret.GITHUB_TOKEN}}

Check failure on line 24 in .github/workflows/vale.yaml

View workflow run for this annotation

GitHub Actions / Lint with Vale on pull request

Invalid workflow file

The workflow is not valid. .github/workflows/vale.yaml (Line: 24, Col: 27): Unrecognized named-value: 'secret'. Located at position 1 within expression: secret.GITHUB_TOKEN