Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/api-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,20 @@ name: Public API check
# (issue #12). This is what makes the "swap sharingan-noop in release" safety
# story enforceable rather than dependent on human discipline.
# Regenerate intentional changes locally with `./gradlew apiDump` and commit.
#
# Docs/site-only changes skip both jobs (paths-ignore): a markdown/CSS edit can't
# alter the Kotlin public-API surface, and these jobs only diff the committed
# *.api / *.klib.api dumps — they never run the library code. Skipping mirrors
# build.yml's docs gate (and is safe because `main` has no required status check
# that a path-filtered skip could leave pending). Any PR that also touches
# code/build files still runs the full API gate.
on:
pull_request:
paths-ignore:
- "**.md"
- "docs/**"
- "site/**"
- ".github/workflows/pages.yml"
workflow_dispatch:

permissions:
Expand Down
Loading