From c72a0836761706b337d760c07f75481766003e2a Mon Sep 17 00:00:00 2001 From: Mikko Numminen Date: Fri, 24 Jul 2026 08:40:05 +0300 Subject: [PATCH] ci(vercel): skip deploys for k8s-only changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Merging #46 — pure k8s manifests and Helm chart — triggered a full Vercel production rebuild of identical app code, because k8s/ was in scope for the ignore command. Kubernetes is a different deployment target entirely; nothing under k8s/ can affect what Vercel builds. Verified against real history: the #46 merge diff now skips, the #45 (app code) diff still builds. Co-Authored-By: Claude Fable 5 --- scripts/vercel-ignore.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/vercel-ignore.sh b/scripts/vercel-ignore.sh index 6f592dd..c164a1e 100755 --- a/scripts/vercel-ignore.sh +++ b/scripts/vercel-ignore.sh @@ -43,6 +43,7 @@ fi # - the CI-only drift gates and the README table generator (never imported by # the app; scripts/vercel-*.sh is deliberately NOT excluded, since those DO # decide what a deployment does) +# - k8s manifests and the Helm chart (a different deployment target entirely) # - dotfile metadata if git diff --quiet "$BASE" HEAD -- \ ':(exclude,glob)**/*.md' \ @@ -59,6 +60,7 @@ if git diff --quiet "$BASE" HEAD -- \ ':(exclude).husky/**' \ ':(exclude,glob)scripts/check-*.mjs' \ ':(exclude)scripts/generate-test-table.mjs' \ + ':(exclude)k8s/**' \ ':(exclude).gitignore' \ ':(exclude).prettierignore' \ ':(exclude).editorconfig'; then