Skip to content

Commit a1251e4

Browse files
committed
Update pr-automation.yml
1 parent 2f57b75 commit a1251e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pr-automation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ jobs:
7979
fi
8080
CHANGESET_COUNT=$(find .changeset -name '*.md' ! -name 'README.md' | wc -l)
8181
if [ "$CHANGESET_COUNT" -eq 0 ]; then
82-
echo "::warning::No changeset found. Please add a changeset if this PR includes user-facing changes."
83-
echo "Run 'pnpm changeset' to create one, or add the 'skip-changeset' label if not needed."
82+
echo "::error::No changeset found. Add one with 'pnpm changeset' if this PR includes user-facing changes, or apply the 'skip-changeset' label if it doesn't."
83+
exit 1
8484
else
8585
echo "Found $CHANGESET_COUNT changeset(s)"
8686
fi

0 commit comments

Comments
 (0)