comvent
comvent copied to clipboard
[Feature Request]: Add support for better pull request comment handling, with assignee, reviewer, etc.
Enhancement Area
Comvent Configuration YAML, Issue Comment Event Handling, Pull Request Comment Event Handling, Runtime
Details
Comment event can pull in a bit more information to control when Comvent is triggered for Pull Request specific use cases.
Use Cases
Assignee based trigger
When an assignee comments to their Issue or Pull Request, s/he can trigger some automation only when they want. This may be useful for automation where the assignee needs to trigger some preview build, etc.
Reviewer based trigger
Similar to the assignee, but when a review is requested, reviewers can trigger some other automation such as extra tests that are lengthy to run for each change.
Other possibilities
Code Owner based trigger
This would be a bit more tricky as finding code owner will require further delving into the associated PR and its affected files. I'd think assignee and reviewer would mostly cover these cases, so I'm not sure if there is a specific need for this.