esbenwiberg/spec-lint

Lint markdown spec folders. Path A quality rules + Path B coupling rules.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 27, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: esbenwiberg/spec-lint@e2b0fab1d9dd50f983d24d6275d7c06454dee102 # v0.5.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
pathWorking directory to lint.no.
base-refGit ref to diff against for Path B coupling rules. Defaults to the PR base branch on `pull_request` events and to `HEAD~1` on `push` events. Set to an empty string to disable Path B. no""
fail-on`error` | `warn` | `never` — exit-code threshold.noerror
commentPost a sticky PR comment with the report. Has no effect outside PR events.notrue
python-versionPython version for the runner.no3.12
speclint-versionVersion of spec-lint to install. Use a PEP 508 spec (e.g. `>=0.1,<0.2`) or a git ref (`git+https://github.com/.../spec-lint@<sha>`). Defaults to installing this checked-out repo (editable), suitable for self-testing. no""
github-tokenToken used to post PR comments. Defaults to ${{ github.token }}.no${{ github.token }}
namedescription
exit-codeExit code from `speclint check` (0 = passed at threshold).
report-markdown-pathPath to the rendered markdown report on the runner.
report-json-pathPath to the JSON report on the runner.