workflow: rebase instead of reset to fix git push
This commit is contained in:
parent
301c6bd2c3
commit
9cb9466992
@ -19,7 +19,8 @@ jobs:
|
||||
- name: Fetch latest changes and reset branch
|
||||
run: |
|
||||
git fetch origin main
|
||||
git reset --hard origin/main
|
||||
git status
|
||||
git rebase origin/main
|
||||
|
||||
- name: Set up Nix
|
||||
uses: cachix/install-nix-action@v31
|
||||
|
Loading…
x
Reference in New Issue
Block a user