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 13, 2024
2 parents 23ab11c + ade50ee commit 3cf2099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/vale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
for file in $CHANGED_FILES; do
/home/runner/vale --output=JSON $file > vale_output.json
jq --arg file "$file" '.[$file] | map(.file = $file)' vale_output.json | jq -s '.' > rdjson_output.json
jq --arg file "$file" '[.[$file][] | .file = $file]' vale_output.json | jq -c '.' > rdjson_output.json
cat rdjson_output.json
/home/runner/reviewdog -f=rdjson -name="Vale" -reporter=github-pr-review -level=warning -filter-mode=nofilter < rdjson_output.json
done
Expand Down

0 comments on commit 3cf2099

Please sign in to comment.