reviewdog / action-shellcheck

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

Exit successfully if no files have been found #30

Closed grische closed 2 years ago

grische commented 2 years ago

Currently, if a repository has no ".sh" files, this action will throw an error: image

This small snippet should fix the problem and print a message to the user.

review-dog commented 2 years ago

Hi, @grische! We merged your PR to reviewdog! 🐶 Thank you for your contribution! ✨

We just invited you to join the @reviewdog organization on GitHub. Accept the invite by visiting https://github.com/orgs/reviewdog/invitation. By joining the team, you'll be a part of reviewdog community and can help the maintainance of reviewdog.

Thanks again!