Skip to content

Commit fb39cde

Browse files
committed
fix: make changesets optional in PR checks
- Remove exit 1 when no changeset found - Changesets only required for actual package changes - Allow PRs for docs, CI/CD, and other non-package changes
1 parent 88cbfc9 commit fb39cde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pr-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ jobs:
4747
if [ -n "$(ls -A .changeset/*.md 2>/dev/null | grep -v README.md)" ]; then
4848
echo "✅ Changeset found"
4949
else
50-
echo "⚠️ No changeset found. Please add a changeset with 'pnpm changeset add'"
51-
echo " This is required for all changes that affect published packages."
52-
exit 1
50+
echo "⚠️ No changeset found. Consider adding a changeset with 'pnpm changeset add'"
51+
echo " Changesets are recommended for changes that affect published packages."
52+
echo " (Not required for documentation, CI/CD, or other non-package changes)"
5353
fi
5454
5555
build:

0 commit comments

Comments
 (0)