summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-08-07 16:07:19 -0500
committerChristian Cleberg <[email protected]>2026-08-07 16:07:19 -0500
commita74223fef8f77b0dc37520a99e61e3d7edf2d9b1 (patch)
tree830b8954c6642eefe49f26a0ac59626686667d31
parenta387335c8e4271d30e073ae5d9626ccb1ee53325 (diff)
downloadhutch-a74223fef8f77b0dc37520a99e61e3d7edf2d9b1.tar.gz
hutch-a74223fef8f77b0dc37520a99e61e3d7edf2d9b1.tar.bz2
hutch-a74223fef8f77b0dc37520a99e61e3d7edf2d9b1.zip
Exclude root .txt docs from the test workflow
Add *.txt to the Tests workflow paths-ignore so a ROADMAP/SCOPE/SECURITY edit no longer burns a macOS runner. Single-star (root only), matching the existing *.md rule; a doc edit alongside code still runs the suite.
-rw-r--r--.github/workflows/test.yml12
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c002514..7f4d4cb 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -3,10 +3,12 @@ name: Tests
# builds.sr.ht is the canonical CI for this project, but it has no macOS images
# and will not add them, so xcodebuild cannot run there. This job exists to run
# the test plan on the GitHub mirror; see builds/swift-ci.yml for the rest.
-# Prose only: the root docs and Docs/. Both patterns are single-star, so they
-# match those two levels and nothing deeper — a .md that ever lands inside a
-# source directory still runs the suite. A skip rule that is too broad is how a
-# real change slips through ungated.
+# Prose only: the root docs (*.md, *.txt — ROADMAP/SCOPE/SECURITY and friends)
+# and Docs/. Every pattern is single-star, so they match those levels and
+# nothing deeper — a .md or .txt that ever lands inside a source directory still
+# runs the suite. A skip rule that is too broad is how a real change slips
+# through ungated. paths-ignore skips the run only when *all* changed files
+# match, so a doc edit alongside code still tests.
#
# pull_request only, by design. GitHub runs the suite against the merge result
# (PR merged into main), so a green PR already validates exactly what lands on
@@ -23,7 +25,7 @@ name: Tests
# docs-only PR waiting forever.
on:
pull_request:
- paths-ignore: ['*.md', 'Docs/*.md']
+ paths-ignore: ['*.md', '*.txt', 'Docs/*.md']
workflow_dispatch:
# Without this, GITHUB_TOKEN inherits the repository default, which is