From 6b679ae846dcc0cf1f54dba38ec7e787abddfcfd Mon Sep 17 00:00:00 2001 From: Bruno Devic Date: Fri, 27 Mar 2026 15:55:57 +0100 Subject: [PATCH] Move validate resume step after checkout --- .github/workflows/release-80_publish-crates.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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: |