diff --git a/.github/workflows/stage-release.yml b/.github/workflows/stage-release.yml index 86a379ee0dbef..c588f83447ab0 100644 --- a/.github/workflows/stage-release.yml +++ b/.github/workflows/stage-release.yml @@ -26,6 +26,9 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v4 + with: + fetch-depth: '0' + ref: 'trunk' - name: Extract version from branch name if: github.event.pull_request.merged == true run: |