Skip to content

Commit

Permalink
allow char - for category
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Aug 31, 2022
1 parent 66d7c20 commit 1f3006f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ def process_pr(repo_config, gh, repo, issue, dryRun, cmsbuild_user=None, force=F
elif re.match("^([-]1|reject|rejected)$", first_line, re.I):
ctype = "-1"
selected_cats = commenter_categories
elif re.match("^[+-][a-z][a-z0-9]+$", first_line, re.I):
elif re.match("^[+-][a-z][a-z0-9-]+$", first_line, re.I):
category_name = first_line[1:].lower()
if category_name in commenter_categories:
ctype = first_line[0]+"1"
Expand Down

0 comments on commit 1f3006f

Please sign in to comment.