From 0e612d560d6e290b52dc8cb0fbdea0d929b3bad2 Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Fri, 14 Jun 2024 16:36:05 +0100 Subject: [PATCH] add --- .github/workflows/vale.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index a915c31631b..b798656a741 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -47,7 +47,9 @@ jobs: mkdir -p original_files mkdir -p corrected_files for file in $(echo ${{ steps.changed-files.outputs.files }} | jq -r '.[]'); do + echo "Copying $file to original_files/${file//\//_}.original" cp "$file" "original_files/${file//\//_}.original" + echo "Copying vale_output_${file//\//_}_edit.md to corrected_files/${file//\//_}" cp "vale_output_${file//\//_}_edit.md" "corrected_files/${file//\//_}" done echo "Original files:" @@ -62,12 +64,14 @@ jobs: with: name: original-files path: original_files/ + continue-on-error: true - name: Upload corrected files uses: actions/upload-artifact@v3 with: name: corrected-files path: corrected_files/ + continue-on-error: true suggest: # Reviewdog suggestion job runs-on: ubuntu-latest @@ -88,7 +92,11 @@ jobs: name: corrected-files - name: List downloaded files - run: ls -l + run: | + echo "Original files:" + ls -l original_files + echo "Corrected files:" + ls -l corrected_files - name: Run Reviewdog Suggestion Action uses: reviewdog/action-suggester@v1