Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit 4515947

Browse files
committed
Delete correct refspec
1 parent 435aa52 commit 4515947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/ci/pr_preview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def synchronize(host, github_project, remote_name, window):
290290
remote.delete_ref(refspec_labeled)
291291

292292
if revision_open != None and not is_open(pull_request):
293-
remote.delete_ref(refspec_labeled)
293+
remote.delete_ref(refspec_open)
294294

295295
def detect(host, github_project, target, timeout):
296296
'''Manage the status of a GitHub deployment by polling the pull request

0 commit comments

Comments
 (0)