Commit 28ed9a7e75

28ed9a7e7584c0fda50c403da702f1519b577163

parent: 57b345b2ba

Unsigned

cmc <hello@cleberg.net> · 2026-08-07 21:08 UTC

Also exclude README.nfo and LICENSE from the test workflow

Layout: unified · split

.github/workflows/test.yml +7 −7
@@ -3,12 +3,12 @@ name: Tests
33# builds.sr.ht is the canonical CI for this project, but it has no macOS images
44# and will not add them, so xcodebuild cannot run there. This job exists to run
55# the test plan on the GitHub mirror; see builds/swift-ci.yml for the rest.
6# Prose only: the root docs (*.md, *.txt — ROADMAP/SCOPE/SECURITY and friends)
7# and Docs/. Every pattern is single-star, so they match those levels and
8# nothing deeper — a .md or .txt that ever lands inside a source directory still
9# runs the suite. A skip rule that is too broad is how a real change slips
10# through ungated. paths-ignore skips the run only when *all* changed files
11# match, so a doc edit alongside code still tests.
6# Prose only: the root docs (*.md, *.txt, README.nfo, LICENSE) and Docs/*.md.
7# The globs are single-star, so they match the repo root and Docs/ and nothing
8# deeper — a .md or .txt that ever lands inside a source directory still runs
9# the suite. A skip rule that is too broad is how a real change slips through
10# ungated. paths-ignore skips the run only when *all* changed files match, so a
11# doc edit alongside code still tests.
1212#
1313# pull_request only, by design. GitHub runs the suite against the merge result
1414# (PR merged into main), so a green PR already validates exactly what lands on
@@ -25,7 +25,7 @@ name: Tests
2525# docs-only PR waiting forever.
2626on:
2727 pull_request:
28 paths-ignore: ['*.md', '*.txt', 'Docs/*.md']
28 paths-ignore: ['*.md', '*.txt', 'README.nfo', 'LICENSE', 'Docs/*.md']
2929 workflow_dispatch:
3030
3131# Without this, GITHUB_TOKEN inherits the repository default, which is