From cc2647debce0f7932a9734c664c961446f589783 Mon Sep 17 00:00:00 2001 From: Ole Herman Schumacher Elgesem Date: Tue, 12 Sep 2023 14:51:01 +0200 Subject: [PATCH] SEC-881: Excluded mender-test-containers from dependabot report See: https://northerntech.atlassian.net/browse/SEC-881 Signed-off-by: Ole Herman Schumacher Elgesem --- tom/reports.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tom/reports.py b/tom/reports.py index c69d2b4..ceb0f90 100644 --- a/tom/reports.py +++ b/tom/reports.py @@ -32,7 +32,8 @@ def dump(self): all.append(data) 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)