Skip to content

Commit 75eaaf8

Browse files
committed
Merge branch '42-integrate-changeset' into chore-changesets-dryrun
2 parents 763f3d2 + d415c01 commit 75eaaf8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,9 @@ jobs:
3737
shell: bash
3838
run: |
3939
set -euo pipefail
40-
# Nur unshallow, wenn wirklich shallow:
4140
if [ -f .git/shallow ]; then
4241
git fetch --unshallow --no-tags --prune
4342
fi
44-
# Base-Ref explizit holen (ohne --depth!)
4543
git fetch --no-tags --prune origin +refs/heads/main:refs/remotes/origin/main
4644
git branch -a
4745
git rev-parse HEAD
@@ -55,12 +53,12 @@ jobs:
5553
npx changeset status --since=origin/main --verbose > .changeset-status.txt || {
5654
echo "⚠️ changeset status failed; falling back to listing existing changesets"
5755
ls -1 .changeset/*.md 2>/dev/null || true
58-
exit 0
56+
: > .changeset-status.txt
5957
}
6058
{
61-
echo "STATUS<<'EOF'"
59+
printf 'STATUS<<EOF\n'
6260
cat .changeset-status.txt
63-
echo "EOF"
61+
printf '\nEOF\n'
6462
} >> "$GITHUB_OUTPUT"
6563
6664
- name: 💬 Upsert PR comment with preview

0 commit comments

Comments
 (0)