From a8692a5ad11976706b3bb89ffb144efad7cf7eb3 Mon Sep 17 00:00:00 2001 From: bensynapse <118375461+bensynapse@users.noreply.github.com> Date: Thu, 19 Nov 2026 09:42:12 +0200 Subject: [PATCH] Fail the skill comparison on any file that differs The loop ended with done && echo. Bash ignores errexit for every command on the left of an && list, so a diff that failed early in the loop was skipped. Only the diff of the last file, references/api.md, set the exit status. A mismatch in SKILL.md passed the job. The echo now runs on its own line after the loop, as in faxforagents/cursor-plugin. Under bash -e the first diff that fails ends the step. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a69b3a0..46d3725 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,4 +47,5 @@ jobs: mkdir -p "/tmp/source/$(dirname "$f")" curl -fsSL "https://raw.githubusercontent.com/faxforagents/skills/main/skills/fax-for-agents/$f" -o "/tmp/source/$f" diff "/tmp/source/$f" "plugin/skills/fax-for-agents/$f" - done && echo "the vendored skill is current" + done + echo "the vendored skill is current"