Skip to content

Commit

Permalink
Moved filter to params
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminmah committed Nov 6, 2024
1 parent fcb5251 commit 55a1b1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bugbot/rules/workflow/no_severity_nag.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

from bugbot import utils
from bugbot.bzcleaner import BzCleaner
from bugbot.constants import SECURITY_KEYWORDS
from bugbot.escalation import Escalation
from bugbot.nag_me import Nag
from bugbot.round_robin import RoundRobin
Expand Down Expand Up @@ -74,8 +73,6 @@ def handle_bug(self, bug, data):
# check if the product::component is in the list
utils.check_product_component(self.components_skiplist, bug)
or utils.get_last_no_bot_comment_date(bug) > self.activity_date
or any(keyword in SECURITY_KEYWORDS for keyword in bug["keywords"])
or bug["groups"]
):
return None
return bug
Expand Down Expand Up @@ -121,6 +118,9 @@ def get_bz_params(self, date):
"f33": "bug_severity",
"o33": "anyexact",
"v33": "--, n/a",
"f34": "bug_group",
"o34": "substring",
"v34": "security",
"j2": "OR",
"f2": "OP",
"j3": "AND",
Expand Down

0 comments on commit 55a1b1f

Please sign in to comment.