Skip to content

Commit 24b9f29

Browse files
committed
Update
[ghstack-poisoned]
1 parent 97430b6 commit 24b9f29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/scripts/propose_ghstack_orig_pr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def create_prs_for_orig_branch(pr_stack: List[int], repo: Repository):
8686
pr = repo.get_pull(pr_stack[i])
8787
if not pr.is_merged():
8888
print("The PR (and stack above) is not merged yet, skipping")
89-
# TODO: Must return
89+
return
9090
# Check for invariant: For the current PR, it must be gh/user/x/base <- gh/user/x/head
9191
assert pr.base.ref.replace("base", "head") == pr.head.ref
9292
# The PR we want to create is then "branch_to_merge" <- gh/user/x/orig

.github/workflows/ghstack_land.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Propose to merge ghstack orig PRs to main
22
on:
33
pull_request:
4-
types: [closed]
4+
types: [open, synchronize, closed]
55
branches:
66
- 'gh/cccclai/[0-9]+/base'
77
- 'gh/dbort/[0-9]+/base'

0 commit comments

Comments
 (0)