summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-08-07 16:08:35 -0500
committerChristian Cleberg <[email protected]>2026-08-07 16:08:35 -0500
commitbc083c2a923b8a0a24f39cc8eabd065464f5922d (patch)
tree316dd9771088af413376b47c07ef6a1540f85273
parenta74223fef8f77b0dc37520a99e61e3d7edf2d9b1 (diff)
downloadhutch-bc083c2a923b8a0a24f39cc8eabd065464f5922d.tar.gz
hutch-bc083c2a923b8a0a24f39cc8eabd065464f5922d.tar.bz2
hutch-bc083c2a923b8a0a24f39cc8eabd065464f5922d.zip
Also exclude README.nfo and LICENSE from the test workflow
-rw-r--r--.github/workflows/test.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 7f4d4cb..62592d8 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -3,12 +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 (*.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.
+# Prose only: the root docs (*.md, *.txt, README.nfo, LICENSE) and Docs/*.md.
+# The globs are single-star, so they match the repo root and Docs/ 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
@@ -25,7 +25,7 @@ name: Tests
# docs-only PR waiting forever.
on:
pull_request:
- paths-ignore: ['*.md', '*.txt', 'Docs/*.md']
+ paths-ignore: ['*.md', '*.txt', 'README.nfo', 'LICENSE', 'Docs/*.md']
workflow_dispatch:
# Without this, GITHUB_TOKEN inherits the repository default, which is