From 14a7e126beef9b378b7aa73355fd9d035b3631d8 Mon Sep 17 00:00:00 2001 From: Andrea Anderson Date: Tue, 19 Sep 2023 16:52:14 -0400 Subject: [PATCH] Fix linter action to lint changed and new files (#1050) --- .github/workflows/vale-docs-linter.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/vale-docs-linter.yml b/.github/workflows/vale-docs-linter.yml index e9d71221ec..29efaddc5d 100644 --- a/.github/workflows/vale-docs-linter.yml +++ b/.github/workflows/vale-docs-linter.yml @@ -24,7 +24,8 @@ jobs: - name: run reviewdog and linter uses: errata-ai/vale-action@reviewdog with: - files: '["${{ steps.changed-files.outputs.any_changed }}", "${{ steps.changed-files.outputs.added_files }}"]' + files: ${{ steps.changed-files.outputs.all_changed_and_modified_files }} + separator: "," # added, diff_context, file, nofilter filter_mode: nofilter # github-pr-check, github-pr-review, github-check