Skip to content

Commit

Permalink
Merge pull request #104 from acsone/fix_acsoo_pr_status_pr_regex_tbi
Browse files Browse the repository at this point in the history
[FIX] PR Status: PR regex must exclude the '.git' part of the repo
  • Loading branch information
sbidoul authored Jun 11, 2024
2 parents d8a873b + 1ed641c commit dff208f
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 dff208f

Please sign in to comment.