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