Skip to content

Commit

Permalink
Merge branch 'test-vale' into test-vale-pr
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Jun 17, 2024
2 parents a7c4c26 + 5749856 commit c016c9c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,13 @@ jobs:
- name: Run Vale on changed files
run: |
IFS="," read -r -a files <<< "${{ steps.get_changed_files.outputs.all_changed_files }}"
for file in "${files[@]}"; do
echo "Running Vale on $file"
vale --output=JSON "$file" > "vale_output_${file//\//_}.json"
vale --output=edit "$file" > "vale_output_${file//\//_}_edit.md"
done
echo "Vale outputs:"
ls -l
for file in ${{ steps.get_changed_files.outputs.all_changed_files }}; do
echo "Running Vale on $file"
vale --output=JSON $file > "vale_output_${file//\//_}.json"
vale --output=edit $file > "vale_output_${file//\//_}_edit.md"
done
echo "Vale outputs:"
ls -l
- name: Apply Vale edits and save originals
run: |
Expand Down

0 comments on commit c016c9c

Please sign in to comment.