jhl-labs/docs-cli Action

Install docs-cli from jhl-labs/dist and run a standardized-docs command (init, generate, validate, render) with GitHub Actions annotations.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 9, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: jhl-labs/docs-cli-action@ba2adc772587f724f74439a198f39c10006f1d84 # no releases — HEAD as of 2026-07-11

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

namedescriptionrequireddefault
tokenGitHub token used by checkout and docs-cli installation.no${{ github.token }}
checkoutWhether this action should checkout the repository before running.notrue
repositoryRepository to checkout.no${{ github.repository }}
refGit ref to checkout.no${{ github.ref }}
fetch-depthCheckout fetch depth.no0
versiondocs-cli version to install, such as v0.1.0. Use latest for the newest public release.nolatest
commanddocs-cli command to run (init|generate|validate|render).novalidate
targetProject path passed to docs-cli.no.
agentAI agent for the generate command (claude|codex|gemini|opencode|none).nonone
formatsComma-separated render formats (html,xml).nohtml,xml
output-dirOutput directory override passed to docs-cli (empty uses the docs-cli default).no""
strictTreat validation warnings as failures.nofalse
annotationsEmit GitHub Actions annotations from docs-cli validate findings.notrue
annotation-limitMaximum number of GitHub Actions annotations to emit.no200
fail-on-validationReturn the docs-cli exit code after annotations are emitted.notrue
usage-trackingSend usage metrics to SE Actions Space. Requires SE_ACTIONS_API_KEY in the caller environment.notrue
usage-action-slugAction slug registered in SE Actions Space for usage metrics.nodocs-cli-action
se-actions-base-urlSE Actions Space base URL used for usage metrics.nohttps://actions.euno.work
se-actions-origin-ipOptional origin IP used to bypass an external proxy for usage metrics smoke tests.no""
extra-argsExtra arguments appended to the docs-cli command.no""
namedescription
exit-codedocs-cli exit code.
duration-secondsdocs-cli execution duration in seconds.