From 2a1ed49ac80c7c717aaeb179b75854d7d4034598 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Mon, 6 May 2024 20:26:42 +0200 Subject: [PATCH] chore(review-callback): generalize the event project name Signed-off-by: Raito Bezarius --- buildbot_nix/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot_nix/__init__.py b/buildbot_nix/__init__.py index e99a8ad..0ebe20c 100644 --- a/buildbot_nix/__init__.py +++ b/buildbot_nix/__init__.py @@ -731,7 +731,7 @@ def gerritReviewCB(builderName, build, result, master, arg): if result == util.RETRY: return dict() - if builderName != 'lix/nix-eval': + if builderName != f'{build["properties"].get("event.project")}/nix-eval': return dict() failed = build['properties'].get('failed_builds', [[]])[0]