Skip to content

Commit

Permalink
Add input parameter for reviewdog reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
tmichalak committed Nov 21, 2024
1 parent 21a1f8c commit c27b8c0
Showing 1 changed file with 4 additions and 1 deletion.
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

0 comments on commit c27b8c0

Please sign in to comment.