Skip to content

⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.

ci: fetch full history before moving the release branch (#65)

Croffe91bae9bb255
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e7aa3980..c22502e0 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -38,10 +38,15 @@ jobs:
#
# `release_created` is set only when a release was cut; it has no `false`
# value, so an unset output makes the condition skip the steps.
+ # `fetch-depth: 0` because the default shallow clone has no object for the
+ # current `release` head, and git then rejects the push with
+ # `! [rejected] HEAD -> release (fetch first)`: it cannot prove the update
+ # is a fast-forward without that commit locally.
- uses: actions/checkout@v7
if: ${{ steps.release.outputs.release_created }}
with:
ref: ${{ steps.release.outputs.tag_name }}
+ fetch-depth: 0
# The destination is fully qualified: `HEAD:release` makes git resolve the
# destination against the remote, which fails while the branch does not