From 1d9375d115b1799cd7335a0b410406b84c8ee4cb Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Mon, 27 Apr 2020 16:35:38 -0700 Subject: [PATCH] ci: fix bad reference to `head` property in rebase-pr script (#36825) Update rebase-pr script to properly reference a property on the refs object using `target` rather than the previously named `head`. PR Close #36825 --- tools/rebase-pr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rebase-pr.js b/tools/rebase-pr.js index cac6f12d58..91c5963d1a 100644 --- a/tools/rebase-pr.js +++ b/tools/rebase-pr.js @@ -86,7 +86,7 @@ async function _main() { Rebase instructions for PR Author, please run the following commands: git fetch upstream ${refs.base.ref}; - git checkout ${refs.head.ref}; + git checkout ${refs.target.ref}; git rebase upstream/${refs.base.ref}; git push --force-with-lease; `);