From 82a05b4ae81e221ec698f9878ecedc19f5e915d6 Mon Sep 17 00:00:00 2001 From: salmannawaz Date: Tue, 25 Aug 2026 13:28:22 +0500 Subject: [PATCH] fix: add fetch-depth: 0 to release workflow checkout Without full git history, PSR cannot resolve prior release tags and fails with "fatal: Could not parse object" (exit code 128). Fixes: https://github.com/openedx/xblock-sdk/actions/runs/32739600996 Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b9187b7..d1282c16 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,6 +28,7 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ github.ref_name }} + fetch-depth: 0 - name: Reset to triggered commit run: git reset --hard ${{ github.sha }}