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

Commit e74f42e

Browse files
authored
Tweak auto-ticket ID heuristic
to exclude content of "Merged PR blah blah" that may appear when z-script creates a commit summary in version bumps
1 parent 7b00c46 commit e74f42e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/SB/Plugin/GitHub.pm6

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ method irc-privmsg-channel ($e) {
3636
$repo = 'SPEC' if $repo eq 'ROAST';
3737
@mentions.append: map { $repo => ~.[0] }, $e.Str ~~ m:g/
3838
<!after 'created pull request'> # exclude new PR notifications
39+
<!after 'Merge pull request'> # exclude mentions of PR merges
3940
\s+ '#' \s* (<ticket>)
4041
/;
4142
}

0 commit comments

Comments
 (0)