From a9dcbf7b9fe9314c5b6251f5fb63943c15726136 Mon Sep 17 00:00:00 2001 From: Nic Dorman Date: Thu, 21 May 2026 15:20:24 +0000 Subject: [PATCH] ci: skip antd/openapi.yaml and llms-full.txt from triggering CI These two files are pure documentation of the wire/SDK surface; the antd daemon never loads openapi.yaml at runtime, and llms-full.txt is the consolidated LLM-targeted reference. Editing either should be treated the same as a README typo fix -- no Rust compile cycle adds signal. Surfaced today when a docs polish PR (#126) extended antd/openapi.yaml to document POST /v1/chunks/prepare and /v1/chunks/finalize. Because openapi.yaml sits under antd/** but isn't .md, the existing `!**/*.md` negation didn't catch it and CI triggered a Rust build that then surfaced an unrelated rustfmt drift in an upstream PR. Adds the two paths as additional negations alongside `!**/*.md`. No behavior change for any code-touching PR. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/ci.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13b2e5d..5e6919e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,22 +3,30 @@ name: CI on: push: branches: [main] - # The `!**/*.md` negation skips CI when the only thing changed is - # documentation — a spelling fix in any README/CHANGELOG/SECURITY.md - # doesn't need a 5-minute Rust compile cycle to verify itself. + # Negations skip CI when the only thing changed is documentation — + # spelling fixes in any README/CHANGELOG/SECURITY.md, the consolidated + # llms-full.txt LLM reference, or the antd/openapi.yaml REST spec + # (the daemon never loads it at runtime; it's pure documentation of + # the wire surface). A 5-minute Rust compile cycle adds no signal for + # those changes. + # # GitHub Actions only allows EITHER `paths` OR `paths-ignore`, not both, - # so the negation lives inside `paths`. + # so the negations live inside `paths`. paths: - "antd/**" - "antd-rust/**" - ".github/workflows/ci.yml" - "!**/*.md" + - "!antd/openapi.yaml" + - "!llms-full.txt" pull_request: paths: - "antd/**" - "antd-rust/**" - ".github/workflows/ci.yml" - "!**/*.md" + - "!antd/openapi.yaml" + - "!llms-full.txt" env: CARGO_TERM_COLOR: always