raccioly/DocGuard — CDD Compliance

Audit, guard, and score your project for Canonical-Driven Development compliance.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 7, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: raccioly/docguard@a41c0ef69bae9db2f9ca065d3ed3842a0f4ea712 # v0.31.0

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

namedescriptionrequireddefault
commandCommand to run: audit, guard, score, diff, fix, syncnoguard
formatOutput format: text or jsonnotext
fail-on-warningFail the action on warnings (not just errors)nofalse
score-thresholdMinimum CDD score to pass (0-100). Only used with score command.no0
working-directoryProject directory to scanno.
node-versionNode.js version to useno20
annotationsWhen command=guard: emit inline annotations (::error/::warning) on the PR diff, one per finding, capped at 50.notrue
pr-commentWhen command=guard: post a sticky guard-status + doc-impact comment on the PR. Only acts on pull_request events; requires permissions.pull-requests=write (degrades to a log warning without it). Distinct from comment-on-pr, which covers fix/sync summaries.notrue
auto-commitWhen command=fix or sync: commit any mechanical fixes back to the PR branch. Requires permissions.contents=write on the calling workflow.nofalse
commit-messageCommit message body when auto-commit applies fixes. Trailer co-author is appended automatically.nodocs: apply DocGuard mechanical fixes
comment-on-prWhen command=fix, guard, or sync: post a summary comment on the PR. Requires permissions.pull-requests=write.nofalse
bot-nameGit author name for the auto-commit. Defaults to a clearly-marked bot identity.nodocguard-bot
bot-emailGit author email for the auto-commit.nodocguard-bot@users.noreply.github.com
namedescription
scoreCDD maturity score (0-100)
gradeCDD grade (A+, A, B, C, D, F)
resultFull JSON result from DocGuard
fixes-appliedFor command=fix: number of mechanical fixes applied (0 = none, no commit was made)
changed-filesFor command=fix or sync: newline-separated list of files modified by --write
committedFor auto-commit=true: "true" if a commit was pushed, "false" otherwise