diff options
| -rw-r--r-- | .github/workflows/test.yml | 12 |
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 |
