workflow: add git fetch before rebasing
Some checks failed
Update Nix Flake / update-flake (push) Failing after 15s
Some checks failed
Update Nix Flake / update-flake (push) Failing after 15s
This commit is contained in:
parent
3cf8f19fcc
commit
6d2a7f50df
@ -25,6 +25,7 @@ jobs:
|
|||||||
- name: Rebase from master branch
|
- name: Rebase from master branch
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
git fetch origin master
|
||||||
commits_ahead=$(git rev-list --count HEAD..origin/master)
|
commits_ahead=$(git rev-list --count HEAD..origin/master)
|
||||||
echo "Commits ahead: $commits_ahead"
|
echo "Commits ahead: $commits_ahead"
|
||||||
git log --oneline -5
|
git log --oneline -5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user