From d708046ab0e011bb6656efa8db58edac8be26ead Mon Sep 17 00:00:00 2001 From: "w. ian douglas" Date: Thu, 28 Aug 2025 18:01:55 -0600 Subject: [PATCH] Iand/updating recipe validation workflow (#4413) --- .github/workflows/validate-recipe-pr.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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