Skip to content

Commit 763f3d2

Browse files
committed
Merge branch '42-integrate-changeset' into chore-changesets-dryrun
2 parents 72a6bb1 + dc8690d commit 763f3d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/changesets-release-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737
shell: bash
3838
run: |
3939
set -euo pipefail
40-
# Falls Repo shallow ist, erst „unshallow“
41-
if git rev-parse --is-shallow-repository >/dev/null 2>&1 && git rev-parse --is-shallow-repository; then
40+
# Nur unshallow, wenn wirklich shallow:
41+
if [ -f .git/shallow ]; then
4242
git fetch --unshallow --no-tags --prune
4343
fi
44-
# Base-Ref explizit holen (ohne --depth=0!)
44+
# Base-Ref explizit holen (ohne --depth!)
4545
git fetch --no-tags --prune origin +refs/heads/main:refs/remotes/origin/main
4646
git branch -a
4747
git rev-parse HEAD

0 commit comments

Comments
 (0)