aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2019-08-05 15:34:11 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2019-08-05 15:34:11 -0400
commitb2e8a232c6341c4ba7c2028bb7c3b21b2e9a3e91 (patch)
tree72cac16fbd94c590300d868fa29b0c305cc0e849
parent4e829cefc7122f739e8d8dcfaab41af4421df731 (diff)
downloadkorg-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-xpr-tracker-bot.py6
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