added --rebase flag

This commit is contained in:
Jack 2021-09-30 22:32:45 +01:00 committed by GitHub
parent c7a11c3668
commit 8778f6cb08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ jobs:
ref: ${{github.event.pull_request.base.sha}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- run: |
git pull origin ${{github.event.pull_request.head.ref}}
git pull origin ${{github.event.pull_request.head.ref}} --rebase
git checkout ${{github.event.pull_request.head.ref}}