From e3c18be5d09cd46e6ba1c00171db7eab6ae93d6f Mon Sep 17 00:00:00 2001 From: Alexander Niebuhr Date: Mon, 23 Oct 2023 18:03:02 +0200 Subject: [PATCH] fix: snapshot release main branch not found (#8885) --- .github/workflows/snapshot-release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index e1dbd8731668..b5cc835610b2 100644 --- a/.github/workflows/snapshot-release.yml +++ b/.github/workflows/snapshot-release.yml @@ -61,6 +61,9 @@ jobs: - uses: actions/checkout@v3 with: ref: ${{ steps.refs.outputs.head_ref }} + fetch-depth: 0 + + - run: git fetch origin main:main - name: Setup PNPM uses: pnpm/action-setup@v2