summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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