From d22e307d3835bea31741c7e018feffd3e526c860 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index e1dbd8731668b..b5cc835610b28 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