Skip to content

Commit ef37aa3

Browse files
committed
ci(vale): use json formatted file list
Request a JSON formatted file list to prevent any issues with file name conventions. This also fixes the current issue with the multiple file changes resulting in needlessly parsing all files in the repository. Signed-off-by: Randolph Sapp <[email protected]>
1 parent 4ea9a73 commit ef37aa3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/vale.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
id: changed-files
2828
uses: tj-actions/changed-files@v46
2929
with:
30+
json: true
3031
files: |
3132
**.rst
3233
**.md
@@ -36,5 +37,5 @@ jobs:
3637
if: steps.changed-files.outputs.any_changed == 'true'
3738
with:
3839
fail_on_error: false # to be changed when upstream addresses 84
39-
files: ${{ steps.changed-files.outputs.all_changed_files }}
40+
files: ${{ toJSON(steps.changed-files.outputs.all_changed_files) }}
4041
version: none

0 commit comments

Comments
 (0)