Commit 04cdcb0374

04cdcb037450c56365f1fc85ac7c6f21a06997cc

parent: c125c6a60e

Unsigned

cmc <hello@cleberg.net> · 2026-07-16 04:40 UTC

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.

Layout: unified · split

.github/workflows/test.yml +6 −5
@@ -3,9 +3,10 @@ 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# paths-ignore is deliberately `*.md`, which matches root level only. Docs/**.md
7# still runs the suite, and so does anything under Hutch/ — a skip rule that is
8# too broad is how a real change slips through ungated.
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.
910#
1011# Safe on pull_request only because main has no required status checks: a run
1112# skipped by a path filter never reports, so a required check would leave a
@@ -13,9 +14,9 @@ name: Tests
1314on:
1415 push:
1516 branches: [main]
16 paths-ignore: ['*.md']
17 paths-ignore: ['*.md', 'Docs/*.md']
1718 pull_request:
18 paths-ignore: ['*.md']
19 paths-ignore: ['*.md', 'Docs/*.md']
1920 workflow_dispatch:
2021
2122# Without this, GITHUB_TOKEN inherits the repository default, which is