CI: skip configs whose included package sets a Zephyr platform (XIAO STM32C5 nodes)
CI / YAML lint (push) Successful in 7s
CI / ESPHome config validation (push) Successful in 1m0s

This commit is contained in:
randy committed 2026-12-04 11:54:56 +01:00
1 parent 0f1b32b1ed
commit 70d1079ccd
1 file changed
+3 -1
+3 -1
View File
@@ -56,7 +56,9 @@ jobs:
run: |
for f in ${{ steps.changed.outputs.all_changed_files }}; do
# Zephyr RTOS platforms need the esphomeplatformzephyr fork, upstream doesn't know them yet
if grep -qE '^(nrf|stm32|nxp|renesas|silabs):' "$f"; then echo "Skipping $f (zephyr fork)"; continue; fi
# (the platform key may also come from an !include'd package, e.g. common/xiao_stm32c5_canopen.yaml)
files="$f $(grep -oE '!include [^ ]+' "$f" | cut -d' ' -f2)"
if grep -qsE '^(nrf|stm32|nxp|renesas|silabs):' $files; then echo "Skipping $f (zephyr fork)"; continue; fi
echo "Validating $f..."
esphome config "$f"
done