fix: fetch full history before fast-forwarding stable in the Nix workflow

The shallow checkout did not contain the current stable commit, so git rejected the push to stable for v1.0.1 even though it was a fast-forward.
This commit is contained in:
Armin Ronacher 2026-10-03 15:23:44 +02:00
parent 4c6fb7cfe8
commit 83692682f0

View file

@ -139,8 +139,11 @@ jobs:
permissions:
contents: write
steps:
# Full history, so git can verify that the push to stable is a fast-forward.
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
# Without --force, the push fails unless it is a fast-forward, so stable
# never moves back to an older release.