diff --git a/.github/workflows/build-publish-images.yml b/.github/workflows/build-publish-images.yml
index 5ee02151f8dbac55cdfc0c9801eeae6406f01ca4..0bf2bded0b0dfeaeb784c985d84ad0d4bef709c5 100644
--- a/.github/workflows/build-publish-images.yml
+++ b/.github/workflows/build-publish-images.yml
@@ -234,10 +234,6 @@ jobs:
     steps:
       - name: Checkout
         uses: actions/checkout@v4
-        with:
-          # tldr: we need to checkout the branch HEAD explicitly because of our dynamic versioning approach while building the substrate binary
-          # see https://github.com/paritytech/ci_cd/issues/682#issuecomment-1340953589
-          ref: ${{ github.head_ref || github.ref_name }}
       - name: build
         run: |
           mkdir -p ./artifacts/substrate/