chore(review-callback): generalize the event project name

Signed-off-by: Raito Bezarius <raito@lix.systems>
This commit is contained in:
raito 2024-05-06 20:26:42 +02:00 committed by Jade Lovelace
parent c1e7af1794
commit 2a1ed49ac8

View file

@ -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]