Skip to content

Commit

Permalink
check if pr author is membrane admin (#741)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartkrak committed Feb 2, 2024
1 parent a0e0d94 commit 3ea52d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/python/get_author_origin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3ea52d2

Please sign in to comment.