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