Skip to content

Inputs

All inputs are optional. Defaults match the most common case (latest CLI, strict registry validation, comment on the PR).

InputDefaultDescription
versionlatestCLI version to download. Either latest or a release tag without the v prefix (e.g. 0.1.15). Resolved against pullminder/cli releases.
commandvalidateRegistry subcommand to run. One of validate or lint.
stricttrueWhen true and command: validate, appends --strict to the CLI invocation. Has no effect on lint.
commenttrueWhen 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.
  • latest resolves to whatever pullminder/cli has 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.txt published with the same release before running it. A mismatch fails the run.
  • validate (default) — fails on any registry error.
  • lint — surfaces style warnings; combine with strict: "true" to fail on warnings.
  • Other CLI commands are not supported by this action today. For broader CI use cases, run pullminder ci directly.
  • Only meaningful when command: validate. Maps to the CLI’s --strict flag.
  • Comments are posted using the workflow’s GITHUB_TOKEN. Your job needs permissions.pull-requests: write for 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'. Manual workflow_dispatch runs never comment, regardless of this setting.
  • 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 }}.

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.