Skip to content

Commit

Permalink
regex fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ptichoid committed Jun 12, 2024
1 parent c43f9ff commit 6e0f231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion request_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def parent_pr_changes_check(cur, conn, org, changes_tab):

body = parent_pr["body"]
if body.startswith("This is an automatically created Pull Request"):
match_repo = re.search(r"(?<=\/).+(?=\#)", str(body))
match_repo = re.search(r"(?<=/).+(?=#)", str(body))
repo_name = match_repo.group(0)
parent_pr_number = extract_number_from_body(body)
parent_reviews = []
Expand Down

0 comments on commit 6e0f231

Please sign in to comment.