diff options
| author | Christian Cleberg <[email protected]> | 2026-07-15 23:40:23 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-07-15 23:40:23 -0500 |
| commit | f100206cc6d6784563d8eb905c9feb15c58bcc1e (patch) | |
| tree | bc5d899cb7aab917c2835dc79de49f57f772bb6e | |
| parent | 0f06540640b6c648aeb96657c651004a8b56e7ba (diff) | |
| download | hutch-f100206cc6d6784563d8eb905c9feb15c58bcc1e.tar.gz hutch-f100206cc6d6784563d8eb905c9feb15c58bcc1e.tar.bz2 hutch-f100206cc6d6784563d8eb905c9feb15c58bcc1e.zip | |
ci: skip the suite for Docs markdown too
Docs/API_CACHE.md and Docs/StoreKit.md are prose with no runtime surface, same
as the root docs.
Both patterns stay single-star, so they match those two levels and nothing
deeper. Hutch/API_REFERENCE.md still runs the suite: a .md living inside the
source tree is close enough to code to be worth the five minutes.
| -rw-r--r-- | .github/workflows/test.yml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 49bc312..9b03336 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,9 +3,10 @@ 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. -# paths-ignore is deliberately `*.md`, which matches root level only. Docs/**.md -# still runs the suite, and so does anything under Hutch/ — a skip rule that is -# too broad is how a real change slips through ungated. +# 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. # # Safe on pull_request only because main has no required status checks: a run # skipped by a path filter never reports, so a required check would leave a @@ -13,9 +14,9 @@ name: Tests on: push: branches: [main] - paths-ignore: ['*.md'] + paths-ignore: ['*.md', 'Docs/*.md'] pull_request: - paths-ignore: ['*.md'] + paths-ignore: ['*.md', 'Docs/*.md'] workflow_dispatch: # Without this, GITHUB_TOKEN inherits the repository default, which is |
