test vale gha pr #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Reviewdog suggester | |
on: | |
pull_request: | |
paths: | |
- '**/*.md' | |
jobs: | |
suggest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Download Vale results | |
uses: actions/download-artifact@v3 | |
with: | |
name: vale-results | |
- name: Run Reviewdog Suggestion Action | |
uses: reviewdog/action-suggester@v1 | |
with: | |
github_token: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }} | |
tool_name: Vale | |
level: "warning" | |
filter_mode: "diff_context" | |
fail_on_error: "false" | |
reviewdog_flags: "" | |
cleanup: "true" | |
- name: Run Reviewdog with Vale results | |
run: | | |
reviewdog -f=rdjsonl -name="Vale" -reporter=github-pr-review -level=warning -filter-mode=nofilter < rdjson_output.jsonl | |
env: | |
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }} |