Skip to content

Bump actions/checkout from 6 to 7 #414

Bump actions/checkout from 6 to 7

Bump actions/checkout from 6 to 7 #414

Workflow file for this run

name: reviewdog
on: [pull_request]
jobs:
vale:
name: runner / vale
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0 # Fetch all history to compare changes
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v47
with:
files: content/**/*.md # Only check markdown files in the content directory
separator: ","
- uses: errata-ai/vale-action@2.1.2
if: steps.changed-files.outputs.any_changed == 'true'
with:
fail_on_error: true
token: ${{secrets.GITHUB_TOKEN}}
files: ${{ steps.changed-files.outputs.all_changed_files }}
separator: ","