From 32daaff4416f9c5f9dde1af6ee3414eb69b55bbc Mon Sep 17 00:00:00 2001 From: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> Date: Wed, 21 Oct 2026 04:21:41 -0400 Subject: [PATCH] chore(scripts): remove unwired netlify-ignore.sh leftover The script was never referenced by netlify.toml (no `ignore =` directive since the initial import commit 8faecb3), no workflow or npm script calls it, and the `chore/hive-snapshot*` branch pattern it guards does not exist in this repository. Removal is deploy-safe even if a Netlify UI ignore setting still names it, because a missing ignore command exits non-zero, which Netlify treats as "build". Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> --- scripts/netlify-ignore.sh | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 scripts/netlify-ignore.sh diff --git a/scripts/netlify-ignore.sh b/scripts/netlify-ignore.sh deleted file mode 100755 index dc947bf..0000000 --- a/scripts/netlify-ignore.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -# Netlify ignore script — exit 0 to skip build, exit 1 to build. -# Skips deploy preview builds for hive snapshot branches. - -echo "[netlify-ignore] BRANCH=$BRANCH HEAD=$HEAD PULL_REQUEST=$PULL_REQUEST REVIEW_ID=$REVIEW_ID COMMIT_REF=$COMMIT_REF" - -# Check both BRANCH and HEAD — Netlify may use either for the PR branch name -for var in "$BRANCH" "$HEAD"; do - case "$var" in - chore/hive-snapshot*) - echo "[netlify-ignore] Skipping build — hive snapshot branch: $var" - exit 0 - ;; - esac -done - -echo "[netlify-ignore] Proceeding with build" -exit 1