Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Commit

Permalink
Tweak auto-ticket ID heuristic
Browse files Browse the repository at this point in the history
to exclude content of "Merged PR blah blah" that may
appear when z-script creates a commit summary in version bumps
  • Loading branch information
zoffixznet committed Dec 27, 2017
1 parent 7b00c46 commit e74f42e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/SB/Plugin/GitHub.pm6
Expand Up @@ -36,6 +36,7 @@ method irc-privmsg-channel ($e) {
$repo = 'SPEC' if $repo eq 'ROAST';
@mentions.append: map { $repo => ~.[0] }, $e.Str ~~ m:g/
<!after 'created pull request'> # exclude new PR notifications
<!after 'Merge pull request'> # exclude mentions of PR merges
\s+ '#' \s* (<ticket>)
/;
}
Expand Down

0 comments on commit e74f42e

Please sign in to comment.