reviewdog / action-shellcheck

Run shellcheck with reviewdog
https://github.com/marketplace?type=actions&query=reviewdog
MIT License
101 stars 20 forks source link

Duplicate comments when suggestions exist #57

Open pbrisbin opened 11 months ago

pbrisbin commented 11 months ago

Hi there-

We're using this action with reporter: github-pr-review, and when an issue can be fixed by suggestion, we get two comments:

Is it possible to avoid this and only get the [shellcheck (suggestion)] comment when something is auto-fixable and only get the [shellcheck] comment when it's not?

Or, ideally, they should be combined:

[shellcheck] reported by reviewdog

Double quote to prevent globbing and word-splitting. SC2086

- echo $example
+ echo "$example"