From c4f46b1a84ee58d747d2148d8a77c59f846e768b Mon Sep 17 00:00:00 2001 From: Aditya Thebe Date: Thu, 26 Dec 2024 11:36:59 +0545 Subject: [PATCH] chore: change vale config on CI --- .github/workflows/style.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 988cb4d..5fabb4f 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -13,6 +13,7 @@ jobs: id: changed-files uses: tj-actions/changed-files@v45 with: + json: true files: | **/*.md **/*.mdx @@ -20,12 +21,12 @@ jobs: - 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