diff --git a/.github/workflows/changie-pr.yml b/.github/workflows/changie-pr.yml index 4cf8e651ae..74249ff319 100644 --- a/.github/workflows/changie-pr.yml +++ b/.github/workflows/changie-pr.yml @@ -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