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:
parent
f27deea003
commit
1d9375d115
@ -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;
|
||||
`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user