Fix validation

This commit is contained in:
Saoud Rizwan 2025-01-29 01:23:44 -08:00
parent 9351c239aa
commit 5c8ea9fafa

View file

@ -26,7 +26,7 @@ jobs:
# Validate that changes exist
- name: Check for Changie entries
run: |
if [ -z "$(ls -A .changes/unreleased 2>/dev/null)" ]; then
if [ -z "$(find .changes/unreleased -name "*.yaml" -o -name "*.yml" 2>/dev/null)" ]; then
echo "Error: No Changie entries found in .changes/unreleased/"
echo "Please run 'npm run changie new' and commit the generated change file"
exit 1