samsontmr / oss-bot-js

Bot for managing first level PR reviews on OSS GitHub repos
2 stars 2 forks source link

Feedback should contain suggestions on fixing convention violations in PR body #11

Closed samsontmr closed 7 years ago

samsontmr commented 7 years ago

Current regex check can only detect if description violates the convention--it is unable to detect how the convention was violated.

An in-depth check can be implemented such that it runs only when the regex check fails. This check will look for specific violations, enabling the bot to provide feedback on how the convention was violated and how it can be resolved.

Since the context-specific nature of this check will make the bot less general, it should be implemented in a way that can be disabled.