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
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
13on: 14on:
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