Skip to content

docs: add vale to project #18

docs: add vale to project

docs: add vale to project #18

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: ${{ secrets.GITHUB_TOKEN }}