diff --git a/.github/workflows/validation-jobs.yml b/.github/workflows/validation-jobs.yml index 9053339ea805a..b4ae9e099496c 100644 --- a/.github/workflows/validation-jobs.yml +++ b/.github/workflows/validation-jobs.yml @@ -304,6 +304,7 @@ jobs: run: | CODE=0 for patch in tools/example-showcase/*.patch; do + # Try applying the patch, logging an error if it fails. git apply --ignore-whitespace $patch || { echo "::error::$patch failed to apply."; CODE=1; } done exit $CODE