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 3cf2099 + ba5e933 commit dcb036f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
run: |
for file in $CHANGED_FILES; do
/home/runner/vale --output=JSON $file > vale_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
jq -c --arg file "$file" '.[$file][] | .file = $file' vale_output.json > rdjsonl_output.json
cat rdjsonl_output.json
/home/runner/reviewdog -f=rdjsonl -name="Vale" -reporter=github-pr-review -level=warning -filter-mode=nofilter < rdjsonl_output.json
done
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.SNIPPET_VALIDATION }}
Expand Down

0 comments on commit dcb036f

Please sign in to comment.