From caf9febd5ce8e9912ca1be3eb962a15e9d4da266 Mon Sep 17 00:00:00 2001 From: Yogesh Shahi Date: Fri, 26 Jun 2026 15:40:19 +0530 Subject: [PATCH 1/2] chore: gate Vercel deployments to docs-only changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Vercel was triggering on every PR and push including Rust-only changes, producing spurious status-check failures on non-docs PRs. - .vercelignore: ignore everything except docs/** - docs-gate.yml: path-filter workflow; GitHub only dispatches the Vercel webhook when docs/** files changed — no webhook, no build --- .github/workflows/docs-gate.yml | 8 ++++++++ .vercelignore | 2 ++ 2 files changed, 10 insertions(+) create mode 100644 .github/workflows/docs-gate.yml create mode 100644 .vercelignore diff --git a/.github/workflows/docs-gate.yml b/.github/workflows/docs-gate.yml new file mode 100644 index 000000000..74be106be --- /dev/null +++ b/.github/workflows/docs-gate.yml @@ -0,0 +1,8 @@ +name: Docs Gate + +on: + push: + branches: [main] + paths: ['docs/**'] + pull_request: + paths: ['docs/**'] diff --git a/.vercelignore b/.vercelignore new file mode 100644 index 000000000..9eb5faa7c --- /dev/null +++ b/.vercelignore @@ -0,0 +1,2 @@ +* +!docs/** From 170e43c1ec036f05f840ebc8ea738116620e1595 Mon Sep 17 00:00:00 2001 From: Yogesh Shahi Date: Fri, 26 Jun 2026 15:49:46 +0530 Subject: [PATCH 2/2] fix: add minimal job to docs-gate workflow Workflow was failing because it had no jobs section. GitHub requires at least one job in every workflow file. Added a simple gate job that just echoes confirmation. The workflow still serves as a path filter to Vercel via GitHub's webhook system. --- .github/workflows/docs-gate.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/docs-gate.yml b/.github/workflows/docs-gate.yml index 74be106be..08c9a873f 100644 --- a/.github/workflows/docs-gate.yml +++ b/.github/workflows/docs-gate.yml @@ -6,3 +6,9 @@ on: paths: ['docs/**'] pull_request: paths: ['docs/**'] + +jobs: + gate: + runs-on: ubuntu-latest + steps: + - run: echo "Docs path filter matched; Vercel deployment proceeding"