workflow: use force pushing

This commit is contained in:
Julian Mutter 2025-03-22 07:40:30 +01:00
parent 4cce287379
commit 9fa984aa14

View File

@ -18,8 +18,7 @@ jobs:
- name: Fetch latest changes and reset branch - name: Fetch latest changes and reset branch
run: | run: |
git fetch origin main git fetch origin
git status
git rebase origin/main git rebase origin/main
- name: Set up Nix - name: Set up Nix
@ -38,5 +37,5 @@ jobs:
echo "No changes to commit." echo "No changes to commit."
else else
git commit -m "Update flake.lock $(date -I)" git commit -m "Update flake.lock $(date -I)"
git push origin flake-updates git push -f origin flake-updates
fi fi