Skip to content

Commit

Permalink
comment: add explaination when creating GUI issue
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Yu <[email protected]>
  • Loading branch information
Yu-Jack committed May 20, 2024
1 parent 9e8a899 commit 6206867
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ def __init__(self):
def isMatched(self, request):
matched = False

# We can't expect the labels order from Github Webhook request.
# It might be ["require-ui/small", "area/ui"] or ["area/ui", "require-ui/small"]
# So we need to consider those two cases.
# "area/ui" is high priority label.
# If "area/ui" is in the labels, we can skip the rest of the labels.
for label in request['issue']['labels']:
if AREA_UI_LABEL in label['name']:
return False
Expand Down

0 comments on commit 6206867

Please sign in to comment.