From 3f1748d16d9e8793dec78166fd38633d50d7d231 Mon Sep 17 00:00:00 2001 From: Nicolas Pastorello Date: Tue, 13 Oct 2026 15:46:20 -0300 Subject: [PATCH] ci: skip the UniFi and ZimaOS checks when their VM scripts are gone Both scripts moved to ProxmoxVE, so every run of the Bash Syntax Check now fails on awk not finding vm/unifi-os-server-vm.sh, and would fail the same way on vm/zimaos-vm.sh next. Guard them with hashFiles like the Fedora step already is. --- .github/workflows/bash-syntax.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/bash-syntax.yml b/.github/workflows/bash-syntax.yml index b1d26d25cf..f6cefc2189 100644 --- a/.github/workflows/bash-syntax.yml +++ b/.github/workflows/bash-syntax.yml @@ -58,7 +58,9 @@ jobs: run: bash .github/workflows/scripts/fedora-image-test.sh - name: UniFi VM provisioning + if: ${{ hashFiles('vm/unifi-os-server-vm.sh') != '' }} run: bash .github/workflows/scripts/unifi-vm-test.sh - name: ZimaOS release and ISO selection + if: ${{ hashFiles('vm/zimaos-vm.sh') != '' }} run: bash .github/workflows/scripts/zima-release-test.sh