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
This commit is contained in:
Joey Perrott 2020-04-27 16:35:38 -07:00 committed by Andrew Kushnir
parent f27deea003
commit 1d9375d115
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ async function _main() {
Rebase instructions for PR Author, please run the following commands: Rebase instructions for PR Author, please run the following commands:
git fetch upstream ${refs.base.ref}; git fetch upstream ${refs.base.ref};
git checkout ${refs.head.ref}; git checkout ${refs.target.ref};
git rebase upstream/${refs.base.ref}; git rebase upstream/${refs.base.ref};
git push --force-with-lease; git push --force-with-lease;
`); `);