diff --git a/.github/workflows/release-80_publish-crates.yml b/.github/workflows/release-80_publish-crates.yml index db035b88f9172..53a3eeac9dd30 100644 --- a/.github/workflows/release-80_publish-crates.yml +++ b/.github/workflows/release-80_publish-crates.yml @@ -110,6 +110,13 @@ jobs: echo "CRATES_RELEASE_BRANCH=post-crates-release-$RELEASE_NAME" >> $GITHUB_OUTPUT + - name: Checkout stable branch + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + ref: ${{ steps.derive_branch.outputs.STABLE_BRANCH }} + fetch-depth: 0 + persist-credentials: false + - name: Validate resume preconditions if: inputs.resume_from != 'full' shell: bash @@ -123,13 +130,6 @@ jobs: fi echo "Release branch '$CRATES_RELEASE_BRANCH' exists on remote. Resuming from '$RESUME_FROM'." - - name: Checkout stable branch - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - with: - ref: ${{ steps.derive_branch.outputs.STABLE_BRANCH }} - fetch-depth: 0 - persist-credentials: false - - name: Import GPG keys shell: bash run: |