From 3ea52d2c4deb0b68169ddcbf2fb8aa200a5c352d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Chali=C5=84ski?= Date: Fri, 2 Feb 2024 17:46:55 +0100 Subject: [PATCH] check if pr author is membrane admin (#741) --- scripts/python/get_author_origin.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/python/get_author_origin.py b/scripts/python/get_author_origin.py index 0ff857386..7a6e7804a 100644 --- a/scripts/python/get_author_origin.py +++ b/scripts/python/get_author_origin.py @@ -3,6 +3,10 @@ membrane_team = json.load(sys.stdin) pr_author = sys.argv[1] +if pr_author == "membraneframeworkadmin": + print("MEMBRANE") + sys.exit(0) + try: for person in membrane_team: if person["login"] == pr_author: