We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a0a26d + 637db3a commit fa5ec94Copy full SHA for fa5ec94
utils/update_checkout/update_checkout/update_checkout.py
@@ -684,7 +684,10 @@ def main():
684
685
cross_repos_pr = {}
686
if github_comment:
687
- regex_pr = r'(apple/[-a-zA-Z0-9_]+/pull/\d+|apple/[-a-zA-Z0-9_]+#\d+)'
+ regex_pr = r'(apple/[-a-zA-Z0-9_]+/pull/\d+'\
688
+ r'|apple/[-a-zA-Z0-9_]+#\d+'\
689
+ r'|swiftlang/[-a-zA-Z0-9_]+/pull/\d+'\
690
+ r'|swiftlang/[-a-zA-Z0-9_]+#\d+)'
691
repos_with_pr = re.findall(regex_pr, github_comment)
692
print("Found related pull requests:", str(repos_with_pr))
693
repos_with_pr = [pr.replace('/pull/', '#') for pr in repos_with_pr]
0 commit comments