diff --git a/.github/workflows/changie-pr.yml b/.github/workflows/changie-pr.yml index 412ee8b5b9..4cf8e651ae 100644 --- a/.github/workflows/changie-pr.yml +++ b/.github/workflows/changie-pr.yml @@ -23,6 +23,15 @@ jobs: - name: Install dependencies run: npm ci + # Validate that changes exist + - name: Check for Changie entries + run: | + if [ -z "$(ls -A .changes/unreleased 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 + fi + # Use Changie to batch changes and get the next version - name: Batch changes id: batch