Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

ci: keep Rust Check running for the ADK docs pages

James Dam41714d6ef11a
diff --git a/.github/workflows/rust-check.yml b/.github/workflows/rust-check.yml
index 88bda5c0c..ee7f2a3cf 100644
--- a/.github/workflows/rust-check.yml
+++ b/.github/workflows/rust-check.yml
@@ -11,13 +11,18 @@ on:
branches:
- main
- dev
- # A PR that only touches the docs site or top-level markdown has nothing
- # here to check. Markdown elsewhere stays in: crates include_str! some of it.
- paths-ignore:
- - 'docs/**'
- - '*.md'
- - '.github/ISSUE_TEMPLATE/**'
- - '.github/pull_request_template.md'
+ # Skip PRs that only touch the docs site, top-level markdown or GitHub
+ # templates. Two things stay in: markdown elsewhere (crates include_str!
+ # some of it) and docs/src/pages/docs/agent, whose fenced excerpts the
+ # adk_examples test checks against examples/adk. Later patterns override
+ # earlier ones, so the agent pages are re-included after docs/** is dropped.
+ paths:
+ - '**'
+ - '!docs/**'
+ - 'docs/src/pages/docs/agent/**'
+ - '!*.md'
+ - '!.github/ISSUE_TEMPLATE/**'
+ - '!.github/pull_request_template.md'
concurrency:
group: rust-check-${{ github.ref }}