8000 Add matching against hypothetical (new) ghstack pull-request trailer … · pytorch/pytorch@cd119dd · GitHub
[go: up one dir, main page]

Skip to content

Commit cd119dd

Browse files
Chilleepytorchmergebot
authored andcommitted
Add matching against hypothetical (new) ghstack pull-request trailer (#153528)
I would like to change ghstack to use a new trailer Pull Request resolved: #153528 Approved by: https://github.com/malfet
1 parent 8f3d797 commit cd119dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/trymerge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def __init__(self, name: str, url: str, run_id: int, status: Optional[str]):
434434
RE_GHSTACK_HEAD_REF = re.compile(r"^(gh/[^/]+/[0-9]+/)head$")
435435
RE_GHSTACK_DESC = re.compile(r"Stack.*:\r?\n(\* [^\r\n]+\r?\n)+", re.MULTILINE)
436436
RE_PULL_REQUEST_RESOLVED = re.compile(
437-
r"(Pull Request resolved|Pull-Request-resolved): "
437+
r"(Pull Request resolved|Pull-Request-resolved|Pull-Request): "
438438
r"https://github.com/(?P<owner>[^/]+)/(?P<repo>[^/]+)/pull/(?P<number>[0-9]+)",
439439
re.MULTILINE,
440440
)

0 commit comments

Comments
 (0)
0