Commit 04cdcb0374
Unsigned
Layout: unified · split
.github/workflows/test.yml +6 −5
| @@ -3,9 +3,10 @@ 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 | # paths-ignore is deliberately `*.md`, which matches root level only. Docs/**.md | 6 | # Prose only: the root docs and Docs/. Both patterns are single-star, so they |
| 7 | # still runs the suite, and so does anything under Hutch/ — a skip rule that is | 7 | # match those two levels and nothing deeper — a .md that ever lands inside a |
| 8 | # too broad is how a real change slips through ungated. | 8 | # source directory still runs the suite. A skip rule that is too broad is how a |
| 9 | # real change slips through ungated. | ||
| 9 | # | 10 | # |
| 10 | # Safe on pull_request only because main has no required status checks: a run | 11 | # Safe on pull_request only because main has no required status checks: a run |
| 11 | # skipped by a path filter never reports, so a required check would leave a | 12 | # skipped by a path filter never reports, so a required check would leave a |
| @@ -13,9 +14,9 @@ name: Tests | |||
| 13 | on: | 14 | on: |
| 14 | push: | 15 | push: |
| 15 | branches: [main] | 16 | branches: [main] |
| 16 | paths-ignore: ['*.md'] | 17 | paths-ignore: ['*.md', 'Docs/*.md'] |
| 17 | pull_request: | 18 | pull_request: |
| 18 | paths-ignore: ['*.md'] | 19 | paths-ignore: ['*.md', 'Docs/*.md'] |
| 19 | workflow_dispatch: | 20 | workflow_dispatch: |
| 20 | 21 | ||
| 21 | # Without this, GITHUB_TOKEN inherits the repository default, which is | 22 | # Without this, GITHUB_TOKEN inherits the repository default, which is |