diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2019-08-05 15:34:11 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2019-08-05 15:34:11 -0400 |
commit | b2e8a232c6341c4ba7c2028bb7c3b21b2e9a3e91 (patch) | |
tree | 72cac16fbd94c590300d868fa29b0c305cc0e849 | |
parent | 4e829cefc7122f739e8d8dcfaab41af4421df731 (diff) | |
download | korg-helpers-b2e8a232c6341c4ba7c2028bb7c3b21b2e9a3e91.tar.gz |
Check Re:plies as well as thread starters
Sometimes a new pull request will come in as a response to an existing
pull request that got turned down. Check messages matching those
subjects as well.
See: https://lore.kernel.org/lkml/CAJ-EccOqmmrf2KPb7Z7NU6bF_4W1XUawLLy=pLekCyFKqusjKQ@mail.gmail.com/T
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rwxr-xr-x | pr-tracker-bot.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pr-tracker-bot.py b/pr-tracker-bot.py index 95a7360..afd69e0 100755 --- a/pr-tracker-bot.py +++ b/pr-tracker-bot.py @@ -39,9 +39,9 @@ DB_VERSION = 2 # Case doesn't matter PULL_SUBJECT_RE = [ - re.compile(r'^\[GIT', re.IGNORECASE), - re.compile(r'^\[PULL', re.IGNORECASE), - re.compile(r'^\[PLEASE PULL', re.IGNORECASE), + re.compile(r'^\S*:?\s*\[GIT', re.IGNORECASE), + re.compile(r'^\S*:?\s*\[PULL', re.IGNORECASE), + re.compile(r'^\S*:?\s*\[PLEASE PULL', re.IGNORECASE), ] # I like these |