From 422eb78b4154423713d4c886a5463187b531e2b7 Mon Sep 17 00:00:00 2001 From: matt korwel Date: Wed, 24 Sep 2025 20:57:16 -0700 Subject: [PATCH] handling propper checkouts for releasemanual (#8954) --- .github/workflows/release-manual.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release-manual.yml b/.github/workflows/release-manual.yml index ea158cb666..cebd9555fa 100644 --- a/.github/workflows/release-manual.yml +++ b/.github/workflows/release-manual.yml @@ -46,9 +46,15 @@ jobs: issues: 'write' steps: - name: 'Checkout' + uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' + with: + fetch-depth: 0 + + - name: 'Checkout Release Code' uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' with: ref: '${{ github.event.inputs.ref }}' + path: 'release' fetch-depth: 0 - name: 'Debug Inputs' @@ -61,10 +67,12 @@ jobs: cache: 'npm' - name: 'Install Dependencies' + working-directory: './release' run: 'npm ci' - name: 'Prepare Release Info' id: 'release_info' + working-directory: './release' run: | RELEASE_VERSION="${{ github.event.inputs.version }}" echo "RELEASE_VERSION=${RELEASE_VERSION#v}" >> "${GITHUB_OUTPUT}" @@ -75,6 +83,7 @@ jobs: uses: './.github/actions/run-tests' with: gemini_api_key: '${{ secrets.GEMINI_API_KEY }}' + working-directory: './release' - name: 'Publish Release' uses: './.github/actions/publish-release' @@ -89,3 +98,4 @@ jobs: dry-run: '${{ github.event.inputs.dry_run }}' previous-tag: '${{ steps.release_info.outputs.PREVIOUS_TAG }}' skip-github-release: '${{ github.event.inputs.skip_github_release }}' + working-directory: './release'