mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
fix: fetch PR head before merging it in "check ff"
This commit is contained in:
parent
3a18f087bf
commit
c3aae9e165
1
.github/workflows/merge-check.yml
vendored
1
.github/workflows/merge-check.yml
vendored
@ -28,6 +28,7 @@ jobs:
|
||||
git fetch origin master:master
|
||||
git checkout master
|
||||
if [[ "${{ github.event_name }}" == "pull_request"* ]]; then
|
||||
git fetch origin pull/${{ github.event.pull_request.number }}/head
|
||||
git merge --ff-only ${{ github.event.pull_request.head.sha }}
|
||||
else
|
||||
git merge --ff-only ${{ github.sha }}
|
||||
|
Loading…
Reference in New Issue
Block a user