Inputs
All inputs are optional. Defaults match the most common case (latest CLI, strict registry validation, comment on the PR).
| Input | Default | Description |
|---|---|---|
version | latest | CLI version to download. Either latest or a release tag without the v prefix (e.g. 0.1.15). Resolved against pullminder/cli releases. |
command | validate | Registry subcommand to run. One of validate or lint. |
strict | true | When true and command: validate, appends --strict to the CLI invocation. Has no effect on lint. |
comment | true | When true and the workflow trigger is pull_request, posts the CLI output as a PR comment. |
working-directory | . | Directory the CLI is invoked in. Resolved relative to the repository root. |
Notes per input
Section titled “Notes per input”version
Section titled “version”latestresolves to whateverpullminder/clihas as its newest GitHub release at the time the action runs.- Pin to an exact version for reproducibility:
with:version: "0.1.15"
- Whatever you pick, the action verifies the binary’s SHA256 against the
checksums.txtpublished with the same release before running it. A mismatch fails the run.
command
Section titled “command”validate(default) — fails on any registry error.lint— surfaces style warnings; combine withstrict: "true"to fail on warnings.- Other CLI commands are not supported by this action today. For broader CI use cases, run
pullminder cidirectly.
strict
Section titled “strict”- Only meaningful when
command: validate. Maps to the CLI’s--strictflag.
comment
Section titled “comment”- Comments are posted using the workflow’s
GITHUB_TOKEN. Your job needspermissions.pull-requests: writefor this to succeed. - Set to
"false"for repositories that prefer status checks over PR chatter. - The action only attempts to comment when
github.event_name == 'pull_request'. Manualworkflow_dispatchruns never comment, regardless of this setting.
working-directory
Section titled “working-directory”- Use this when the registry sits in a subdirectory of a larger repo:
with:working-directory: ./registry
- The path is resolved by the runner shell, so relative paths must be relative to
${{ github.workspace }}.
Source of truth
Section titled “Source of truth”These inputs are defined in action.yml. If this page disagrees with action.yml, treat action.yml as authoritative and please file an issue against pullminder/action.