From e476fcf124f0d1bc50d4f33dbac29296d700b334 Mon Sep 17 00:00:00 2001 From: Marc LeBlanc <7050295+marcleblanc2@users.noreply.github.com> Date: Thu, 10 Sep 2026 20:06:18 -0600 Subject: [PATCH 1/2] ci/vercel: Skip preview builds for PRs that only touch non-site files Adds a vercel.json ignoreCommand so Vercel skips the build when every changed file is outside what the site builds from: .github, .agents, .amp, .vscode, AGENTS.md, README.md, .gitignore, cspell*. Anything else (docs, src, public, dev, root configs, lockfile) still builds. Amp-Thread-ID: https://ampcode.com/threads/T-01a08e2d-682f-75dd-a050-cb9bf8888dac Co-authored-by: Amp --- vercel.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 000000000..1625d94ae --- /dev/null +++ b/vercel.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://openapi.vercel.sh/vercel.json", + "ignoreCommand": "git diff --quiet HEAD^ HEAD -- . ':(exclude).github' ':(exclude).agents' ':(exclude).amp' ':(exclude).vscode' ':(exclude)AGENTS.md' ':(exclude)README.md' ':(exclude).gitignore' ':(exclude)cspell*'" +} From ce0775ff9e6cb166b414c9a5157bff19d7491186 Mon Sep 17 00:00:00 2001 From: Marc LeBlanc <7050295+marcleblanc2@users.noreply.github.com> Date: Fri, 11 Sep 2026 03:43:58 -0600 Subject: [PATCH 2/2] ci/vercel: Also skip builds for commits that only touch dev/TODO.md Amp-Thread-ID: https://ampcode.com/threads/T-01a08e2d-682f-75dd-a050-cb9bf8888dac Co-authored-by: Amp --- vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 1625d94ae..815be5f44 100644 --- a/vercel.json +++ b/vercel.json @@ -1,4 +1,4 @@ { "$schema": "https://openapi.vercel.sh/vercel.json", - "ignoreCommand": "git diff --quiet HEAD^ HEAD -- . ':(exclude).github' ':(exclude).agents' ':(exclude).amp' ':(exclude).vscode' ':(exclude)AGENTS.md' ':(exclude)README.md' ':(exclude).gitignore' ':(exclude)cspell*'" + "ignoreCommand": "git diff --quiet HEAD^ HEAD -- . ':(exclude).github' ':(exclude).agents' ':(exclude).amp' ':(exclude).vscode' ':(exclude)AGENTS.md' ':(exclude)README.md' ':(exclude).gitignore' ':(exclude)cspell*' ':(exclude)dev/TODO.md'" }