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 }}