ManageIQ/miq_bot
View on GitHubregex in notification monitor for WIP is insufficient
Open
#334 opened on Mar 28, 2017
buggood first issuehelp wantedpinned
Repository metrics
- Stars
- (16 stars)
- PR merge metrics
- (PR metrics pending)
Description
https://github.com/ManageIQ/miq_bot/blob/96d28fab4f605844b02b50911cba2adc114d49f6/lib/github_service/issue.rb#L7 is insufficient as it only looks for WIP at the start. This can be better handled by reusing the pr_title_tags method: https://github.com/ManageIQ/miq_bot/blob/e81985b7bef0227b963a8372a444178a56a462fe/app/models/branch.rb#L65-L67 , which is what's used by the wip_labeler worker.
See ManageIQ/manageiq#14551 for an example of where it double-wipped a PR.