We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f84187 commit dc8690dCopy full SHA for dc8690d
.github/workflows/changesets-release-pr.yml
@@ -37,11 +37,11 @@ jobs:
37
shell: bash
38
run: |
39
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
+ # Nur unshallow, wenn wirklich shallow:
+ if [ -f .git/shallow ]; then
42
git fetch --unshallow --no-tags --prune
43
fi
44
- # Base-Ref explizit holen (ohne --depth=0!)
+ # Base-Ref explizit holen (ohne --depth!)
45
git fetch --no-tags --prune origin +refs/heads/main:refs/remotes/origin/main
46
git branch -a
47
git rev-parse HEAD
0 commit comments