Skip to content

Commit

Permalink
[FIX] PR Status: PR regex must exclude the '.git' part of the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBinsfeld committed Jun 11, 2024
1 parent d8a873b commit 1ed641c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acsoo/pr_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

PR = namedtuple("PR", ["org", "repo", "pr"])
PR_RE = re.compile(
r".*github.com.(?P<org>[^/]+)/(?P<repo>[^/]+)" r".*@refs/pull/(?P<pr>[0-9]+)/head"
r".*github.com.(?P<org>[^/]+)/(?P<repo>[^/.]+).*@refs/pull/(?P<pr>[0-9]+)/head"
)
PR_URL_RE = re.compile(
r".*https://github.com/(?P<org>[^/]+)/(?P<repo>[^/]+)/pull/(?P<pr>[0-9]+).*"
Expand Down

0 comments on commit 1ed641c

Please sign in to comment.