Skip to content

Commit

Permalink
chore: change vale config on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe committed Dec 26, 2024
1 parent eff094f commit c4f46b1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@ jobs:
id: changed-files
uses: tj-actions/changed-files@v45
with:
json: true
files: |
**/*.md
**/*.mdx
- name: List changed fiels
run: |
echo "Files changed:"
echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr ' ' '\n'
echo "${{ steps.changed-files.outputs.all_changed_files }}"
- name: Run Vale on changed files
uses: errata-ai/vale-action@reviewdog
uses: errata-ai/vale-action@v2.1.1
with:
version: 2.17.0
files: ${{ steps.changed-files.outputs.all_changed_files }}
separator: " "
reporter: github-pr-check
fail_on_error: true

0 comments on commit c4f46b1

Please sign in to comment.