diff --git a/acsoo/pr_status.py b/acsoo/pr_status.py index 83e12fb..c805046 100644 --- a/acsoo/pr_status.py +++ b/acsoo/pr_status.py @@ -17,7 +17,7 @@ PR = namedtuple("PR", ["org", "repo", "pr"]) PR_RE = re.compile( - r".*github.com.(?P[^/]+)/(?P[^/]+)" r".*@refs/pull/(?P[0-9]+)/head" + r".*github.com.(?P[^/]+)/(?P[^/.]+).*@refs/pull/(?P[0-9]+)/head" ) PR_URL_RE = re.compile( r".*https://github.com/(?P[^/]+)/(?P[^/]+)/pull/(?P[0-9]+).*"