From e98d80e1924a014ed84bec99bd01324dd7354675 Mon Sep 17 00:00:00 2001 From: Alexander Niebuhr Date: Sat, 21 Oct 2023 21:33:28 +0200 Subject: [PATCH] fix: snapshot release main branch not found --- .github/workflows/snapshot-release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index e1dbd8731668..f8d9c527de5c 100644 --- a/.github/workflows/snapshot-release.yml +++ b/.github/workflows/snapshot-release.yml @@ -61,6 +61,10 @@ jobs: - uses: actions/checkout@v3 with: ref: ${{ steps.refs.outputs.head_ref }} + fetch-depth: 0 + + - run: git checkout main + - run: git checkout ${{ steps.refs.outputs.head_ref }} - name: Setup PNPM uses: pnpm/action-setup@v2