summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexander Niebuhr <alexander@nbhr.io> 2023-10-23 18:03:02 +0200
committerGravatar GitHub <noreply@github.com> 2023-10-23 16:03:02 +0000
commite3c18be5d09cd46e6ba1c00171db7eab6ae93d6f (patch)
tree5938c572f7436bafc5c3bc6e8add812d50bc230d
parent26b77b8fef0e03bfc5550aecaa1f56a4fc1cd297 (diff)
downloadastro-e3c18be5d09cd46e6ba1c00171db7eab6ae93d6f.tar.gz
astro-e3c18be5d09cd46e6ba1c00171db7eab6ae93d6f.tar.zst
astro-e3c18be5d09cd46e6ba1c00171db7eab6ae93d6f.zip
fix: snapshot release main branch not found (#8885)
-rw-r--r--.github/workflows/snapshot-release.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml
index e1dbd8731..b5cc83561 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