PR CheckMate API - v1.22.3
    Preparing search index...

    Interface RunOptions

    interface RunOptions {
        baseSha?: string;
        checks?: Check[];
        config?: PRCheckMateConfig;
        cwd?: string;
        extendRegistry?: boolean;
        headSha?: string;
        languages?: Language[];
        only?: string[];
        reporter?: ReporterKind | ReporterFn;
        skip?: string[];
        write?: boolean;
    }
    Index
    baseSha?: string
    checks?: Check[]

    Extra checks to run. Combined with the built-in registry per extendRegistry. Lets consumers (e.g. PRValidator) plug their own Checks into the same pipeline.

    cwd?: string
    extendRegistry?: boolean

    How checks combines with the built-in registry:

    • true (default when checks is set): append; a custom check overrides a built-in one with the same name.
    • false: run ONLY the provided checks, ignoring the built-in registry.
    headSha?: string
    languages?: Language[]

    Override language detection (e.g. PRValidator passes its already-detected type).

    only?: string[]

    Whitelist of check names — when set, only these run.

    Where the report goes:

    • 'none': nothing (just return the report)
    • 'stdout': print the summary table
    • 'github': print + upsert a PR comment
    • a function: receives the CheckReport (e.g. forward to Slack).
    skip?: string[]

    Blacklist of check names — always excluded.

    write?: boolean

    Allow file-modifying checks to write. Default false.