Skip to content

Commit

Permalink
Fetch both base and head
Browse files Browse the repository at this point in the history
  • Loading branch information
ppkarwasz committed Dec 13, 2023
1 parent 64946c2 commit 7db70ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/merge-dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
BASE: ${{ github.base_ref }}
HEAD: ${{ github.head_ref }}
run: |
git fetch origin "+refs/heads/$BASE:refs/remotes/origin/$BASE"
git fetch origin "+refs/heads/$BASE:refs/remotes/origin/$BASE" "+refs/heads/$HEAD:refs/remotes/origin/$HEAD"
git rebase "origin/$BASE"
# Push the PR branch
git push -f
Expand Down

0 comments on commit 7db70ea

Please sign in to comment.