diff --git a/tom/reports.py b/tom/reports.py index a656b3c..89a9d89 100644 --- a/tom/reports.py +++ b/tom/reports.py @@ -30,9 +30,12 @@ def dump(self): data["created"] = str(pr.created) data["author"] = pr.author all.append(data) - if datetime.datetime.now() - pr.created < datetime.timedelta(days=21): + if datetime.datetime.now() - pr.created < datetime.timedelta(days=30): continue - if pr.author == "dependabot[bot]": + if pr.author == "dependabot[bot]" and not pr.url.startswith( + "https://github.com/mendersoftware/mender-test-containers/pull/" + ): + # TODO - see: https://northerntech.atlassian.net/browse/SEC-881 dependabot.append(data) old.append(data)