ci: doc-only PRs skip heavy checks but report green

Story 1106Epic None1 files · +57/−1

PR #282 · pramaan-io/pramaan-functions · merged 2026-06-09

Why this matters

A one-line README fix shouldn't burn ten minutes of CI.

Doc-only PRs were either over-tested or silently stuck.

Skipped ≠ Success

The fix — Skip the heavy check, never the green tick — doc-only PRs report success without running the suite.

How it flows

sequenceDiagram
  autonumber
  participant pr as Pull Request
  participant ci as CI Workflow
  participant report as Status Check
  pr->>ci: doc-only change detected
  ci->>ci: heavy suite: fast counter (skip)
  ci->>ci: run: stamp 'delivered' (green)
  ci->>report: status: success
  report-->>pr: mergeable

What changed, file by file

CI workflow file — adds path-based logic so doc-only PRs skip heavy checks while emitting an explicit green status for required checks.

New fields: run : |

Files changed (1)

File±
.github/workflows/ci.yml ★+57 −1