From 738ba1f7a1e3db58f520aabc3fa52a14a66e2844 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 988cb4d3..af26364f 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: 3.9.2 files: ${{ steps.changed-files.outputs.all_changed_files }} - separator: " " reporter: github-pr-check fail_on_error: true