From dc121e36c9053352d19b57a3822b3eb594a3cb38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Chali=C5=84ski?= Date: Fri, 2 Feb 2024 17:34:54 +0100 Subject: [PATCH] check if pr author is membrane admin --- 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: