diff --git a/.github/workflows/validate-recipe-pr.yml b/.github/workflows/validate-recipe-pr.yml index ce20308da7..00a7b8c1e4 100644 --- a/.github/workflows/validate-recipe-pr.yml +++ b/.github/workflows/validate-recipe-pr.yml @@ -110,6 +110,7 @@ jobs: id: validate if: steps.recipe_changes.outputs.recipe_files_changed == 'true' run: | + set -e # Read the list of changed recipe files RECIPE_FILES=$(cat /tmp/changed_recipe_files.txt) @@ -132,7 +133,7 @@ jobs: ALL_VALID=false fi fi - done <<< "$RECIPE_FILES" + done < /tmp/changed_recipe_files.txt # Second pass: Check for duplicate filenames if [ "$ALL_VALID" = true ]; then @@ -177,7 +178,7 @@ jobs: echo "✅ Filename '$FILENAME' validation complete" fi - done <<< "$RECIPE_FILES" + done < /tmp/changed_recipe_files.txt fi # Save validation output for use in comment