Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add input parameter for reviewdog reporter #20

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ inputs:
github_token:
description: 'GITHUB_TOKEN'
default: ''
reviewdog_reporter:
description: '-reporter option to reviewdog'
default: 'github-pr-review'
fail_on_formatting_suggestions:
description: 'If there are any formatting issues in the codebase, the action will return with an error'
required: false
Expand Down Expand Up @@ -93,7 +96,7 @@ runs:
echo "running reviewdog"
reviewdog -name="verible-verilog-format" \
-f=diff -f.diff.strip=1 \
-reporter="github-pr-review" \
-reporter="${{ inputs.reviewdog_reporter }}" \
-filter-mode="diff_context" \
-level="info" \
-diff="$diff_cmd" \
Expand Down