From 6fbab5501072878ea7da780f4cfc76834a92de7d Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 1 Feb 2023 23:04:43 +0100 Subject: [PATCH] fedmsg / irc: adjust #fedora-flatpaks bot a bit Try to limit the messages to PRs and git commits in flatpaks/ namespace, and bodhi FEDORA-FLATPAK updates. Signed-off-by: Kalev Lember --- roles/fedmsg/irc/templates/ircbot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/fedmsg/irc/templates/ircbot.py b/roles/fedmsg/irc/templates/ircbot.py index 9f5cd85bde..3a187552d6 100644 --- a/roles/fedmsg/irc/templates/ircbot.py +++ b/roles/fedmsg/irc/templates/ircbot.py @@ -697,12 +697,13 @@ config = dict( nickname='fm-flatpaks', {% endif %} channel='fedora-flatpaks', + # show PRs and git commits for flatpaks/ namespace, and bodhi FEDORA-FLATPAK updates filters=dict( topic=[ - '^((?!(pagure)).)*$', + '^((?!(pagure\.pull-request|git\.receive|bodhi\.update)).)*$', ], body=[ - '^((?!(flatpaks)).)*$', + '^((?!(flatpaks\/|FEDORA-FLATPAK)).)*$', ], ), ),