commit | 48d62f445304dc536846a5a8235ca71d4db66c90 | [log] [tgz] |
---|---|---|
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | Tue Apr 04 12:26:12 2023 -0400 |
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | Tue Apr 04 12:26:12 2023 -0400 |
tree | 16a3b07fa8829a5ebe256711fa576c925cf7576d | |
parent | 80ecf568a279c753c1adf1767c20d9fc080b68f0 [diff] |
pi2bz: implement more accurate trigger for commands We use pi_query when looking for interesting threads, but we can have false-positives (e.g. someone talking about bugbot trigger words, not someone actually issuing bot commands). This implements pi_trigger_regexes so we can separate commands (on a separate line) from false-positives. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>