workflows: fetch origin too

master
Jonathan Chang 2020-03-22 20:58:03 +11:00
parent 9301a9e357
commit d323ccba87
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ jobs:
rm -rf $(brew --repository ${{github.repository}})
ln -s $GITHUB_WORKSPACE $(brew --repository ${{github.repository}})
cd $(brew --repository ${{github.repository}})
git fetch +refs/pull/${{ github.event.client_payload.pull_request }}/head:current-pr
git fetch origin +refs/pull/${{ github.event.client_payload.pull_request }}/head:current-pr
git rebase current-pr master
git show
- name: Download artifacts