From d29c4894d01d0937a75c8164ade9c822019a548a Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Fri, 14 Jun 2024 16:31:47 +0100 Subject: [PATCH] add --- .github/workflows/vale.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index 0eef0d3a64f..a915c31631b 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -47,9 +47,13 @@ jobs: mkdir -p original_files mkdir -p corrected_files for file in $(echo ${{ steps.changed-files.outputs.files }} | jq -r '.[]'); do - cp $file "original_files/${file//\//_}.original" + cp "$file" "original_files/${file//\//_}.original" cp "vale_output_${file//\//_}_edit.md" "corrected_files/${file//\//_}" done + echo "Original files:" + ls -l original_files + echo "Corrected files:" + ls -l corrected_files env: REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}