Fix validation
This commit is contained in:
1 parent
9351c239aa
commit
5c8ea9fafa
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user