GitHub Action Inputs and Outputs Reference¶
Every with: input and outputs.* value for the abicheck GitHub Action, generated directly from action.yml — see that page for setup, mode/input compatibility, and usage recipes; this page is the exhaustive field list only.
Inputs (115)¶
The last column gives the same option on the other surfaces, read from architecture/option-vocabulary.yaml. --set PATH=VALUE is the escape hatch for a .abicheck.yml key, not the primary spelling; a core option has no --set form. A RETIRED input is a fail-closed tombstone: it fails the run and names its replacement, or the reason it has none.
| Input | Required | Default | Description | Same option on other surfaces |
|---|---|---|---|---|
mode |
no | compare | Operation mode. The Action exposes four analysis modes, mirroring abicheck's core per-library CLI commands (compare/dump/deps tree/deps compare; the CLI additionally has project-orchestration commands like aggregate and project plan that this Action does not expose as separate modes): "compare" (default) compares two ABI surfaces — old-library/new-library may be single binaries/snapshots OR directories/packages, in which case abicheck fans out to a per-library comparison automatically (no separate mode); omitting old-library (and abi-baseline) runs an audit-only compare --no-baseline against new-library alone, reporting no old/new compatibility verdict — see the migration section of docs/use/github-action.md for converting a mode: scan job (retired) to this shape, including the severity-preset requirement to keep it gating a CI job the way mode: scan's own audit mode did; "dump" generates a JSON baseline snapshot from a single library (now also embeds optional L3/L4/L5 build-source evidence via source/build inputs); "deps-tree" resolves transitive dependencies and symbol bindings for one binary (Linux ELF); "deps-compare" compares a binary's full dependency stack across two sysroots (Linux ELF). mode: scan itself is retired outright (hard removal, no deprecation window) — setting it fails the step with an error naming the replacement for your shape. |
Reusable workflow: extra-args (check-single.yml, check-project.yml), python-version (check-single.yml, check-project.yml), install-deps (check-single.yml, check-project.yml), dependency-source (check-single.yml, check-project.yml) |
old-library |
no | — | Path to the old library or JSON snapshot. Required for a two-sided compare; omit it (and abi-baseline) to run an audit-only compare --no-baseline against new-library alone instead (the replacement for a baseline-less mode: scan/audit: true request — see the mode input's own description). May also be a directory or package (RPM, Deb, tar, conda, wheel) — abicheck then fans out to a per-library comparison automatically. May also be a stored BundleFacts document written by an earlier run's --bundle-facts-out (plain .json, a compressed .json.gz/.json.zst, or the content-addressed archive form): no separate input or flag selects that shape, since compare classifies the operand from the file's own content, so pointing this input at such a document is all a stored-OLD-side bundle comparison needs. A real large-toolkit document may exceed the conservative pre-json.loads() decode-node ceiling; raise it with resource_limits.max_bundle_facts_decode_nodes in a .abicheck.yml passed as build-config (an explicit, operator-reviewed config — an auto-discovered one may only lower that budget, never raise it, since it can come from the same untrusted checkout being decoded). Producing such a document is --bundle-facts-out, which stays an extra-args option rather than a first-class input: it names one pipeline stage's output artifact path, and a dedicated input would add a second spelling for something extra-args already forwards and validates. |
Reusable workflow: new-library (check-single.yml) |
new-library |
no | — | Path to the new (current) library, binary, or JSON snapshot. Required for compare (both the two-sided and audit-only shapes), dump (unless a source-only sources/build-info/compile-db input is given), and deps-tree/deps-compare modes. May be a directory or package (RPM, Deb, tar, conda, wheel) ONLY in a two-sided compare, matching old-library — compare then fans out to a per-library comparison automatically. dump, and compare's own audit-only shape, each analyse exactly one artifact and reject a directory/package with an error (neither has a per-library fan-out); for a multi-library release, dump each library individually or use a two-sided compare instead. | Reusable workflow: new-library (check-single.yml) |
new-library-set |
no | — | RETIRED (hard removal, no deprecation window). It mapped to the now fully-removed scan --artifact-set/mode: scan. Still declared so a workflow that sets it gets an explicit ::error:: instead of a silently-ignored input; remove it and compare each library individually. For a multi-library release comparison against an old side, use mode: compare with a directory/package operand instead. |
RETIRED, no replacement: the mode: scan artifact-set input is gone and nothing takes its place |
old-debug-info |
no | — | Debug info package for old side (RPM/Deb/tar). compare mode, directory/package operands only. | CLI: compare --debug-info, dump --debug-info; .abicheck.yml: debug.pdb_path, debug.info |
new-debug-info |
no | — | Debug info package for new side (RPM/Deb/tar). compare mode, directory/package operands only. | CLI: compare --debug-info, dump --debug-info; .abicheck.yml: debug.pdb_path, debug.info |
dso-only |
no | — | RETIRED (no transition period). Setting this input fails the run before any analysis. Replace it in your workflow with set: release.dso_only=true (the set: input takes one PATH=VALUE per line), then remove dso-only. |
RETIRED, use the .abicheck.yml key release.dso_only (or set: release.dso_only=VALUE on the Action) |
include-private-dso |
no | — | RETIRED (no transition period). Setting this input fails the run before any analysis. Replace it in your workflow with set: release.include_private_dso=true (the set: input takes one PATH=VALUE per line), then remove include-private-dso. |
RETIRED, use the .abicheck.yml key release.include_private_dso (or set: release.include_private_dso=VALUE on the Action) |
fail-on-removed-library |
no | — | RETIRED (no transition period). Setting this input fails the run before any analysis. Replace it in your workflow with set: gate.fail_on_removed_library=true (the set: input takes one PATH=VALUE per line), then remove fail-on-removed-library. |
RETIRED, use the .abicheck.yml key gate.fail_on_removed_library (or set: gate.fail_on_removed_library=VALUE on the Action) |
require-complete |
no | — | Per-job override of .abicheck.yml's assurance.require_complete for this invocation. Unset (the default) inherits the config unchanged. 'true' requires complete analysis evidence (an incomplete run exits 1) even when the config does not say so; 'false' lifts that floor for this run even when the discovered or build-config .abicheck.yml sets assurance.require_complete: true. mode: compare only (single-pair, audit-only and directory/package operands alike). Written as an assurance: overlay into the same --config document the release-topology inputs use. Deliberately no declared default -- see dso-only's own description for why: an omitted input must stay distinguishable from an explicit 'false'. |
.abicheck.yml: assurance.require_complete; set: assurance.require_complete=VALUE |
header |
no | — | Public header file(s) applied to both sides (space-separated). Required when input is an ELF binary; ignored for JSON snapshots. If old and new actually declare different header sets (e.g. a new release added a header), set old-header/new-header instead -- a bare header parses BOTH snapshots against the same files, which silently hides the removed/added declarations you're trying to check. |
CLI: compare --header, dump --header; Reusable workflow: header (check-single.yml, check-project.yml), old-header (check-single.yml, check-project.yml), new-header (check-single.yml, check-project.yml) |
old-header |
no | — | Public header(s) for the old side only (overrides header for old). Space-separated. A development package (RPM/Deb/tar) with headers is accepted here too, replacing the retired devel-pkg1. | CLI: compare --header, dump --header; Reusable workflow: header (check-single.yml, check-project.yml), old-header (check-single.yml, check-project.yml), new-header (check-single.yml, check-project.yml) |
new-header |
no | — | Public header(s) for the new side only (overrides header for new). Space-separated. A development package (RPM/Deb/tar) with headers is accepted here too, replacing the retired devel-pkg2. | CLI: compare --header, dump --header; Reusable workflow: header (check-single.yml, check-project.yml), old-header (check-single.yml, check-project.yml), new-header (check-single.yml, check-project.yml) |
public-header-dirs |
no | — | RETIRED (no transition period). Setting this input fails the run before any analysis. Replace it in your workflow with header: <dir> ... (it was forwarded as -H, which is what header does; use old-header/new-header for one side), then remove public-header-dirs. |
RETIRED, use the Action input header |
build-target |
no | — | RETIRED (hard removal, no deprecation window). scan --build-target was retired first; dump --build-target, which this input mapped to, was retired next, once that removal resolved the routing hazard that had deferred it — neither command has this flag any more. Still declared so a workflow that sets it gets an explicit ::error:: naming the replacement instead of a silently-ignored input: put the root target(s) in .abicheck.yml's build.targets (Bazel only so far, e.g. targets: ["//:math"]) and pass the config with mode: dump's build-config: input, or let it auto-discover from sources:. compare has no equivalent. |
RETIRED, use the .abicheck.yml key build.targets (or set: build.targets=VALUE on the Action) |
include |
no | — | Extra include directories for header AST parsing (castxml or clang). Space-separated. Set this (or old-include/new-include for a side-specific root) whenever a header passed via header itself #includes a dependency's header from a separate include root (e.g. PVXS's own version.h pulling in EPICS Base's epicsVersion.h, found in a real PVXS Action acceptance run) -- header/public-header-dirs alone never cover a dependency's own headers. On ELF the parse then aborts on the first such include with a "file not found" error; on Mach-O/PE it can instead warn and fall back to export-table scoping (--header/--include are silently ignored for that dump), which is quieter but leaves header-based coverage incomplete rather than failing loud. In a two-sided compare, old-include/new-include replace this list for their side rather than adding to it (repeat any shared directory there too); in dump and compare's audit-only shape, a side-specific include is added alongside this list instead. (sources/build-info can sometimes auto-derive a build's own include dirs for this instead of a manual -I, when neither side has any explicit include input of its own.) |
CLI: compare --include, dump --include; Reusable workflow: include (check-single.yml, check-project.yml), old-include (check-single.yml, check-project.yml), new-include (check-single.yml, check-project.yml); .abicheck.yml: compile.include_dirs |
old-include |
no | — | Include directories for old side only. Space-separated. Used by a two-sided compare; not applicable to compare's audit-only shape, which has no old side. Replaces include for this side rather than adding to it (repeat any directory include also lists that's still needed). |
CLI: compare --include, dump --include; Reusable workflow: include (check-single.yml, check-project.yml), old-include (check-single.yml, check-project.yml), new-include (check-single.yml, check-project.yml); .abicheck.yml: compile.include_dirs |
new-include |
no | — | Include directories for new side only. Space-separated. In a two-sided compare, replaces include for this side rather than adding to it (repeat any directory include also lists that the new side still needs); in dump and compare's audit-only shape, it is added alongside include instead. |
CLI: compare --include, dump --include; Reusable workflow: include (check-single.yml, check-project.yml), old-include (check-single.yml, check-project.yml), new-include (check-single.yml, check-project.yml); .abicheck.yml: compile.include_dirs |
library-spec |
no | — | Path to the same declarative library spec actions/baseline takes as its library-spec (a JSON array of {name, artifact, header, header_exclude, include} glob entries, relative to the working directory). With library-spec-target, the named component's resolved artifact, headers and include roots become this run's new-library, new-header and new-include -- so the baseline job and the compare gate read one checked-in declaration instead of each restating every library's header/include list. Setting new-library, header, new-header, include or new-include as well is refused: two declarations of one target is the drift this input removes. The old side is expected to be a snapshot or baseline (old-library/ abi-baseline), whose headers are already recorded; for a binary old side, give old-header/old-include explicitly. ${NAME} placeholders are not bound here, so a spec that uses them is refused. |
— |
library-spec-target |
no | — | The component name in library-spec this run compares. Required when library-spec is set. Only this component's paths have to exist; the rest of the spec is still parsed and checked for duplicate names. |
— |
old-label |
no | old | Version label for the old library (embedded in reports). | CLI: compare --label, dump --label, project history --label |
new-label |
no | new | Version label for the new library (embedded in reports). | CLI: compare --label, dump --label, project history --label |
lang |
no | c++ | Language mode for header AST parsing: "c++" or "c". | Reusable workflow: lang (check-single.yml, check-project.yml); .abicheck.yml: compile.lang; set: compile.lang=VALUE |
frontend |
no | — | RETIRED (no transition period). Setting this input fails the run before any analysis. Replace it in your workflow with set: compile.frontend=<value> (the set: input takes one PATH=VALUE per line), then remove frontend. |
RETIRED, use the .abicheck.yml key compile.frontend (or set: compile.frontend=VALUE on the Action) |
compiler |
no | — | Path to GCC/G++ (or clang) cross-compiler binary, or a cross-toolchain prefix such as aarch64-linux-gnu- (a trailing - is read as a prefix, anything else as a path). The Action passes each compile-context input to the CLI as a --set compile.* argument (compile.compiler here), not through a synthesized .abicheck.yml document or --config. The CLI owns the compile: schema and its precedence over .abicheck.yml, so build-config combines with these inputs without any merge step on the Action's side. Applies to dump and compare mode, on single-pair and directory/package (release) operands alike (same scope as frontend above). | Reusable workflow: compiler (check-single.yml, check-project.yml); .abicheck.yml: compile.compiler; set: compile.compiler=VALUE |
compile-options |
no | — | RETIRED (no transition period). Setting this input fails the run before any analysis. Replace it in your workflow with set: compile.options=[<flag>, ...] (the set: input takes one PATH=VALUE per line), then remove compile-options. |
RETIRED, use the .abicheck.yml key compile.options (or set: compile.options=VALUE on the Action) |
sysroot |
no | — | Alternative system root directory for cross-compilation. On dump and single-pair compare (including the audit-only shape) this is forwarded as a --set compile.sysroot argument (see compiler above) (deps-tree keeps its own direct --root CLI forwarding, unaffected -- it is not part of this compile-context group at all). Applies to dump, deps-tree, and compare mode, the latter on single-pair and directory/package (release) operands alike (same scope as frontend above). | Reusable workflow: sysroot (check-single.yml, check-project.yml); .abicheck.yml: compile.sysroot; set: compile.sysroot=VALUE |
nostdinc |
no | — | RETIRED (no transition period). Setting this input fails the run before any analysis. Replace it in your workflow with set: compile.nostdinc=true (the set: input takes one PATH=VALUE per line), then remove nostdinc. |
RETIRED, use the .abicheck.yml key compile.nostdinc (or set: compile.nostdinc=VALUE on the Action) |
follow-deps |
no | — | Include transitive dependency graph and symbol binding info in dump or compare output. ELF only. Applies to dump and compare modes. For compare, requires a baseline (old-library or abi-baseline) -- rejected outright for the audit-only shape (compare --no-baseline's own DT_NEEDED dependency walk is not wired to that path yet). Empty (the default) defers to .abicheck.yml's deps.follow; true forwards --follow-deps and false forwards --no-follow-deps, which turns a configured deps.follow: true off for this run. |
CLI: compare --follow-deps, dump --follow-deps; .abicheck.yml: deps.follow |
old-root |
no | — | Sysroot for the old (baseline) environment. Required for mode=deps-compare. | CLI: deps compare --root, deps tree --root |
new-root |
no | — | Sysroot for the new (candidate) environment. Required for mode=deps-compare. | CLI: deps compare --root, deps tree --root |
search-path |
no | — | Additional directories to search for shared libraries (space-separated). Used by deps-tree, deps-compare, and follow-deps. | CLI: compare --search-path, dump --search-path, deps compare --search-path, deps tree --search-path; .abicheck.yml: deps.search_paths; set: deps.search_paths=VALUE |
ld-library-path |
no | — | Simulated LD_LIBRARY_PATH (colon-separated). Used by deps-tree, deps-compare, and follow-deps. | CLI: compare --ld-library-path, dump --ld-library-path, deps compare --ld-library-path, deps tree --ld-library-path; .abicheck.yml: deps.ld_library_path; set: deps.ld_library_path=VALUE |
used-by |
no | — | Application binary/binaries whose actual imports/required symbol versions scope the comparison (space-separated; maps to repeated compare --used-by). The full library comparison always determines this run's own verdict/exit code; the supplied application's own confirmed/potential/unresolved impact is reported alongside it (informational), never in place of it. Mutually exclusive with required-symbol/required-symbols (the CLI rejects both being set). Requires a baseline (old-library or abi-baseline) -- rejected outright for the audit-only shape (consumer scoping needs two versions to compare, and an audit has none). compare mode only. | CLI: compare --used-by |
used-by-manifest |
no | — | Path(s) to a JSON document naming one or more consumer binaries (space-separated; forwarded as --set consumers.manifests=[...]), each with optional digest/platform/profile/provider_baseline provenance and a requirement ("required", the default -- an unreadable consumer aborts the run, same as used-by -- or "advisory" -- an unreadable consumer is skipped and reported instead). Merged into the same scoping pipeline as used-by; every listed consumer counts toward the reported "N of M consumers affected" summary (consumer_impact_summary in a json export). Mutually exclusive with required-symbol/required-symbols. compare mode only. Requires a baseline (old-library or abi-baseline) -- rejected outright for the audit-only shape, same reason as used-by above. | .abicheck.yml: consumers.manifests; set: consumers.manifests=VALUE |
required-symbol |
no | — | An exported linker symbol a plugin host resolves via dlopen/dlsym and requires (space-separated; forwarded as --set consumers.required_symbols=[...]). The full library comparison always determines this run's own verdict/exit code; this contract's own confirmed/ potential/unresolved impact is reported alongside it (informational), never in place of it. Mutually exclusive with used-by. compare mode only. Requires a baseline (old-library or abi-baseline) -- rejected outright for the audit-only shape, same reason as used-by above. | .abicheck.yml: consumers.required_symbols; set: consumers.required_symbols=VALUE |
required-symbols |
no | — | Path to a file of required symbols, one per line (blank lines and '#' comments ignored) -- combined with any required-symbol values. compare mode only. Requires a baseline (old-library or abi-baseline) -- rejected outright for the audit-only shape, same reason as used-by above. | .abicheck.yml: consumers.required_symbols; set: consumers.required_symbols=VALUE |
against |
no | — | RETIRED (hard removal). This applied only to the now-removed mode: scan, as the baseline artifact to compare the scanned new-library against. Set old-library (or abi-baseline) to the same value under mode: compare instead. Still declared so a workflow that sets it gets an explicit ::error:: naming that replacement instead of a silently-ignored input. |
RETIRED, use the Action input old-library |
sources |
no | — | Source checkout / tree for source-intelligence analysis. The compile database is auto-discovered within it. Drives L4 source-ABI replay and L5 source-graph collection. Used by dump mode, and by compare mode for the new (candidate) side only — mapped to compare's --sources new=... (the old side's evidence, if any, is expected to already be embedded in whatever old-library snapshot was resolved; not applicable to compare's audit-only shape, which has no old side). | CLI: compare --sources, dump --sources; Reusable workflow: sources (check-single.yml, check-project.yml) |
build-info |
no | — | Out-of-tree L3 build context: a build directory, a compile_commands.json, or a previously-collected evidence pack. Use when the build tree lives outside --sources. Used by dump mode, and by compare mode for the new (candidate) side only — mapped to compare's --build-info new=... (same old-side caveat as sources above). | CLI: compare --build-info, dump --build-info; Reusable workflow: build-info (check-single.yml, check-project.yml), compile-db (check-single.yml, check-project.yml); .abicheck.yml: build.compile_db |
compile-db |
no | — | Explicit path to a compile_commands.json, when it is not under sources. Folded into --build-info for every mode that accepts it (dump, and compare mode's new side) — --build-info already accepts a build dir, a compile_commands.json, or a pre-captured pack, so it is the one flag that takes this operand. |
CLI: compare --build-info, dump --build-info; Reusable workflow: build-info (check-single.yml, check-project.yml), compile-db (check-single.yml, check-project.yml); .abicheck.yml: build.compile_db |
build-config |
no | — | Path to a trusted .abicheck.yml. For dump mode, supplying this alone is enough — an explicit --config is itself the operator's consent to run its build.query. Used by dump mode, and by compare mode (--config). Also the only way to configure the cross-library bundle-analysis layer's system-provider allow-list extension and co-versioned cohort declarations: .abicheck.yml's bundle: block (system_providers:/cohorts:, CLI cleanup phase two, PR J — there is no longer a per-invocation Action input for either, matching the native CLI's own removal of --bundle-system-providers/ --bundle-cohort). system_providers: applies to compare mode (directory/package operands); cohorts: (the SONAME-skew check) applies to compare only. |
CLI: compare --config, dump --config, project capture-variants --config; Reusable workflow: build-config (check-single.yml, check-project.yml) |
jobs |
no | — | RETIRED (no transition period). Setting this input fails the run before any analysis. There is no replacement: the worker count is no longer a workflow setting. abicheck's release fan-out auto-detects the CPU count and clamps it to available memory, so concurrency is controlled by the runner or workflow itself. Remove jobs from your workflow. | RETIRED, no replacement: the worker count is no longer a workflow setting; the release fan-out detects the CPU count itself |
bundle-system-providers |
no | — | RETIRED (CLI cleanup phase two, PR J — hard removal). The cross-library bundle-analysis layer's system-provider allow-list extension was removed here and moved to .abicheck.yml's bundle.system_providers: block, reachable through the build-config input. Kept registered as a tombstone for the same reason as jobs above — an undeclared input is dropped silently, which here would drop a real analysis setting. Setting it is a hard error: move the list into .abicheck.yml and point build-config at it. (Marked RETIRED, like every other hard-error tombstone here, so tests/test_action_retired_inputs_contract.py holds it to the same executable fail-closed guarantee, the same one jobs above has.) |
RETIRED, use the .abicheck.yml key bundle.system_providers (or set: bundle.system_providers=VALUE on the Action) |
allow-build-query |
no | — | RETIRED (no transition period). Setting this input fails the run before any analysis. There is no replacement: abicheck always runs its own inferred compile-database query when a sources input needs build context, and a trusted build query is set through build-config (build.query). Remove allow-build-query from your workflow. | RETIRED, no replacement: abicheck always runs its own inferred compile-database query when a build context is needed |
depth |
no | — | Evidence-depth selector: binary, headers, build, or source. Used by dump mode, and by compare mode (--depth) -- both the two-sided and audit-only shapes. Omitting it means 'headers' -- set it to build or source explicitly to collect those (there is no risk-driven auto escalation). --depth source analyses the whole current library target unless since/changed-path seeds a narrower changed scope. Maps to --depth. For a compare directory/package (release) operand, every rung is forwarded per member exactly as for a single pair. build and source are reachable there without any inline evidence input when the members are pre-dumped snapshots that already carry it (dump --sources/--build-info); what a release operand does not support is the inline sources/build-info/compile-db inputs themselves, which are rejected with an error before the run since the per-library fan-out never collects them. Note what pinning a rung does and does not guarantee: a shortfall is reported (the exit-7 evidence-contract axis) only for a pinned build/source rung on a side this run extracts live. A member that is already a serialized snapshot was never extracted by this run, so no shortfall is reported for it -- a successful run is therefore not by itself proof that every member carried the requested evidence. | CLI: compare --depth, dump --depth; Reusable workflow: depth (check-single.yml) |
since |
no | — | compare mode (single-pair operands, two-sided only). Focus the run's source-evidence scope on files changed vs a ref (e.g. origin/main). Maps to compare --since. Not forwarded for a compare directory/package operand (the per-library release fan-out collects no build/source evidence for either side to scope). Rejected outright (step fails before any dependency install) for compare's audit-only shape (old-library and abi-baseline both omitted): compare --no-baseline does not implement revision-range evidence scoping -- set old-library (or abi-baseline) to use since. | CLI: compare --since |
changed-path |
no | — | compare mode (single-pair operands, two-sided only). Changed path(s) to focus the run's source-evidence scope on (space-separated; alternative to since). Maps to repeated compare --changed-path. Not forwarded for a compare directory/package operand, same as since above. Rejected outright for compare's audit-only shape, same as since above and for the same reason. | CLI: compare --changed-path |
budget |
no | — | compare mode, two-sided shape only. Time guard (e.g. 15m, 900s, 1h); empty means the 2h default, so no run is unbounded. The step FAILS on overflow (exit 5) — a budget never silently shrinks scope. Set a longer budget here when a large comparison needs more than 2h. Maps to compare --budget. Rejected outright (step fails before any dependency install) for compare's audit-only shape (old-library and abi-baseline both omitted): compare --no-baseline does not wire the wall-clock guard to that path yet -- set old-library (or abi-baseline) to use budget. | CLI: compare --budget |
dry-run |
no | false | Resolve inputs/config and print what the run would do, without performing any analysis or writing output. Exits 0 for a resolvable preview; an invocation the real run would itself reject (an invalid flag combination) still exits with that same usage error, and a requested-but-unsatisfiable depth/evidence contract still exits nonzero — a dry run validates what it can see, it does not turn every outcome into success. The one deliberate exception is this composite Action's own baseline resolution: an unresolved abi-baseline is tolerated under dry-run rather than hard-failing, since the point of a preview is to report what would be compared, not to require the comparison already be resolvable. Maps to --dry-run; supported by every mode (compare -- both the two-sided and audit-only shapes -- dump, deps-tree, deps-compare). To preview an audit-only single-build hygiene lint instead of a two-sided compare, simply omit old-library and abi-baseline for that step. | CLI: compare --dry-run, dump --dry-run, deps compare --dry-run, deps tree --dry-run, project capture-variants --dry-run |
estimate |
no | false | RETIRED. This applied only to the now-removed mode: scan, as a dry-run alias. Use dry-run: 'true' instead, which applies to every mode. Still declared so a workflow that sets it gets an explicit ::error:: naming that replacement instead of a silently-ignored input. |
RETIRED, use the Action input dry-run |
audit |
no | false | RETIRED. This applied only to the now-removed mode: scan, forcing a one-build audit-only run. Under mode: compare, simply omit old-library and abi-baseline to run an audit-only compare --no-baseline instead; set severity-preset (e.g. 'default') if this job should still gate on a BREAKING/API_BREAK-classified finding the way mode: scan's own audit mode always did. Still declared so a workflow that sets it gets an explicit ::error:: naming that replacement instead of a silently-ignored input. |
RETIRED, no replacement: under mode: compare, omit old-library and abi-baseline to get an audit-only run |
risk-rules |
no | — | RETIRED (hard removal). scan --risk-rules is gone, together with mode: scan itself and the risk-driven auto depth escalation it fed: an omitted depth now resolves to the fixed headers rung — the same default compare has always used — instead of being scored from the changed paths. Set depth: source (or build) explicitly to pin the level a risk profile used to escalate to. Still declared so a workflow that sets it gets an explicit ::error:: saying so. |
RETIRED, no replacement: mode: scan and the risk-driven depth escalation are gone; an omitted depth resolves to headers |
abi-baseline |
no | — | Automatically fetch an ABI baseline snapshot for compare mode, used as old-library. Values: "latest-release" fetches *.abicheck.json from the latest GitHub Release; a tag name (e.g. "v2.0.0") fetches from that release; a file path uses the file directly. Requires GITHUB_TOKEN with contents:read permission. Overrides old-library when set. When the resolved release has no single *.abicheck.json[.gz\|.zst] asset, set baseline-profile and baseline-target to instead fetch a release-contract baseline-set archive (abicheck-baseline-<profile>.tar.zst, published by publish-baseline.yml -- see docs/reference/publish-baseline.md). When baseline-profile and baseline-target are both set, that archive is the only source consulted: a single-snapshot asset on the release is ignored, not compared against. Without them, the single-snapshot asset is used as before. |
Reusable workflow: baseline-target (check-single.yml), baseline-channel (check-single.yml), baseline-path (check-single.yml), baseline-required (check-single.yml), expected-project-ref (check-single.yml, check-project.yml), expected-baseline-generation (check-single.yml, check-project.yml), allow-new-target (check-single.yml) |
baseline-profile |
no | — | Selects which contract profile's baseline-set to fetch when abi-baseline resolves a release-contract baseline-set archive (docs/reference/publish-baseline.md). Requires baseline-target to also be set. When set together with baseline-target, the archive is the only baseline source (a missing archive fails the run rather than falling back to a single-snapshot asset). Omit when the release publishes a single-snapshot asset (abi-baseline's original, unchanged contract). | Reusable workflow: baseline-target (check-single.yml), baseline-channel (check-single.yml), baseline-path (check-single.yml), baseline-required (check-single.yml), expected-project-ref (check-single.yml, check-project.yml), expected-baseline-generation (check-single.yml, check-project.yml), allow-new-target (check-single.yml) |
baseline-target |
no | — | The target/library id (the baseline-set manifest.json's "library" field, matching the name passed to actions/baseline's libraries input when the baseline-set was published) to resolve from the baseline-set archive selected by baseline-profile. Required when baseline-profile is set. |
Reusable workflow: baseline-target (check-single.yml), baseline-channel (check-single.yml), baseline-path (check-single.yml), baseline-required (check-single.yml), expected-project-ref (check-single.yml, check-project.yml), expected-baseline-generation (check-single.yml, check-project.yml), allow-new-target (check-single.yml) |
baseline-asset-name-template |
no | abicheck-baseline-{profile}.tar.zst | Release asset filename template for the baseline-set archive fetched via baseline-profile; "{profile}" is replaced with baseline-profile's value, and "{generation}" (optional) with baseline-generation's value. Must match the asset-name-template the publishing workflow (publish-baseline.yml, or a custom equivalent) used. | Reusable workflow: baseline-target (check-single.yml), baseline-channel (check-single.yml), baseline-path (check-single.yml), baseline-required (check-single.yml), expected-project-ref (check-single.yml, check-project.yml), expected-baseline-generation (check-single.yml, check-project.yml), allow-new-target (check-single.yml) |
baseline-generation |
no | — | Substituted for "{generation}" in baseline-asset-name-template -- set this when the publishing workflow's asset-name-template includes "{generation}" (e.g. it published a baseline scoped to a scanner-compatibility generation -- see baseline-management.md's "Scanner upgrades and baseline generations" section). Omit when baseline-asset-name-template doesn't reference "{generation}" at all -- the default template never does, so this input is a no-op unless you opt in by including the placeholder. | Reusable workflow: baseline-target (check-single.yml), baseline-channel (check-single.yml), baseline-path (check-single.yml), baseline-required (check-single.yml), expected-project-ref (check-single.yml, check-project.yml), expected-baseline-generation (check-single.yml, check-project.yml), allow-new-target (check-single.yml) |
baseline-project-ref |
no | tag | What the selected baseline-set's manifest project_ref must equal. Checked only when baseline-profile and baseline-target select a release-contract baseline-set; a mismatch fails the run with outcome wrong_project_ref. 'tag' (the default) expects the resolved release tag -- what publish-baseline.yml records for a set it captured itself. 'commit' expects the commit that tag names, with an annotated tag peeled to its commit -- what a set captured elsewhere (a pre-captured set) records. A full 40/64-character commit SHA is compared literally. Set this to an empty string to turn the check off; it is applied only when the input is omitted, so an explicit '' is a real opt-out. | Reusable workflow: baseline-target (check-single.yml), baseline-channel (check-single.yml), baseline-path (check-single.yml), baseline-required (check-single.yml), expected-project-ref (check-single.yml, check-project.yml), expected-baseline-generation (check-single.yml, check-project.yml), allow-new-target (check-single.yml) |
expected-archive-digest |
no | — | SHA-256 the downloaded baseline-set archive must have, as 'sha256: |
Reusable workflow: baseline-target (check-single.yml), baseline-channel (check-single.yml), baseline-path (check-single.yml), baseline-required (check-single.yml), expected-project-ref (check-single.yml, check-project.yml), expected-baseline-generation (check-single.yml, check-project.yml), allow-new-target (check-single.yml) |
verify-baseline-attestation |
no | false | 'false' (default) -- no provenance check beyond expected-archive-digest. 'true' -- before the downloaded baseline-set archive is extracted, run gh attestation verify on it and fail the run (even under dry-run) unless a GitHub artifact attestation from baseline-attestation-repo (and, when set, baseline-attestation-signer-workflow) covers its exact bytes. The producer creates the attestation with actions/stage-baseline's attest: true. Uses github-token; the calling job needs 'attestations: read' when the repository is private. Requires baseline-profile and baseline-target, because only that selection fetches an archive. |
Reusable workflow: baseline-target (check-single.yml), baseline-channel (check-single.yml), baseline-path (check-single.yml), baseline-required (check-single.yml), expected-project-ref (check-single.yml, check-project.yml), expected-baseline-generation (check-single.yml, check-project.yml), allow-new-target (check-single.yml) |
baseline-attestation-repo |
no | — | owner/repo whose workflow must have attested the baseline-set archive. Defaults to the current repository. Only valid with verify-baseline-attestation: true. | Reusable workflow: baseline-target (check-single.yml), baseline-channel (check-single.yml), baseline-path (check-single.yml), baseline-required (check-single.yml), expected-project-ref (check-single.yml, check-project.yml), expected-baseline-generation (check-single.yml, check-project.yml), allow-new-target (check-single.yml) |
baseline-attestation-signer-workflow |
no | — | Optional workflow that must have signed the attestation, as 'owner/repo/.github/workflows/ |
Reusable workflow: baseline-target (check-single.yml), baseline-channel (check-single.yml), baseline-path (check-single.yml), baseline-required (check-single.yml), expected-project-ref (check-single.yml, check-project.yml), expected-baseline-generation (check-single.yml, check-project.yml), allow-new-target (check-single.yml) |
format |
no | — | Output format: json, markdown, sarif, html, junit, review, or oneline (each mode's default when this input is left unset). compare, two-sided shape, single-pair (non-directory, non-package) operand: all seven. compare, two-sided shape, directory/package operand: all seven (sarif carries one run per library, each stamped with its release member; review is a release digest rendered from the release JSON). compare against a stored BundleFacts baseline (old-library naming such a document, or a local abi-baseline file): json, markdown, junit, oneline or html -- that driver renders no sarif or review. Pre-checked before the dependency install by the CLI's own classifier, run from this Action's source tree (action/stored_bundle_facts_probe.py, bounded reads only); on a runner whose pre-installed Python is older than 3.11 that check is skipped with a notice and the CLI rejects the format after install. compare, audit-only shape (old-library/abi-baseline both omitted): json, markdown, sarif, junit, or oneline — html and review are two-sided-report renderers with no audit-only equivalent and are rejected with an error. html is also supported by deps-tree/deps-compare (a dependency-stack report); sarif/junit/review/oneline are not. dump ignores this input; it always writes a JSON snapshot. Requesting an unsupported format for the mode/shape is a hard error raised before any dependency install (it used to silently fall back to a supported format with only a warning, which is unsafe for CI — see upload-sarif). Deliberately has no Action-level default (unlike most inputs): GitHub Actions has no way to tell "left unset" from "explicitly set to the default" apart once a default is declared — each mode branch in action/run.sh supplies its own correct default instead. | CLI: compare --output, dump --output, deps compare --output, deps tree --output, aggregate --output, project capture-variants --output, project history --output, project plan --output, project validate --output |
output-file |
no | — | Path to write the report file. If not set, output goes to stdout and job summary. | CLI: compare --output, dump --output, deps compare --output, deps tree --output, aggregate --output, project capture-variants --output, project history --output, project plan --output, project validate --output |
snapshot-compression |
no | — | dump mode only. Storage envelope for the written snapshot: 'auto' (default) infers gzip/zstd/plain from output-file's canonical suffix (.abicheck.json.gz/.abicheck.json.zst/plain .abicheck.json); an explicit 'none', 'gzip', or 'zstd' is used as-is and is a hard error if it contradicts output-file's suffix, mirroring the CLI's own --compression flag it maps to directly. Ignored by every other mode -- compare/deps-tree/deps-compare produce a report, not a stored snapshot, and transparently read a compressed snapshot operand either way via magic-byte detection regardless of this input. | CLI: dump --compression |
policy |
no | strict_abi | Policy for the run: a built-in profile name (strict_abi (default), sdk_vendor, plugin_abi, or a packaged one such as security), or the path to a YAML policy document with per-kind (overrides:) or selector-scoped (reclassify:) verdict re-classification. Forwarded as --policy, which takes either one. Replaces the retired policy-file input. |
CLI: compare --policy, project history --policy; Reusable workflow: policy (check-single.yml, check-project.yml) |
suppress |
no | — | Path to a YAML suppression file to filter known/intentional changes. One path per line supplies several files (for example the exceptions every build variant shares, then the variant's own); each line is forwarded as its own --suppress, and every file's rules apply. A single-line value is one path even if it contains spaces. |
CLI: compare --suppress; Reusable workflow: suppress (check-single.yml, check-project.yml) |
acknowledgments |
no | — | Path to a YAML acknowledgment-records file for this run: changes a team reviewed and accepted, each named by finding_id, or by symbol with change_kind. Forwarded as compare --acknowledgments, which overrides .abicheck.yml's acknowledgments.file. Compare mode only. The file is read from the checked-out tree, which a pull request can edit: on pull_request, call the protect-acknowledgments reusable workflow so a change to this file needs a label. Whether an accepted break leaves the exit code is acknowledgments.breaks, which only a build-config you named can set (a discovered .abicheck.yml cannot loosen the gate). |
CLI: compare --acknowledgments; .abicheck.yml: acknowledgments |
verbose |
no | false | Enable verbose/debug output from abicheck. | CLI: compare --verbose, dump --verbose, deps compare --verbose, deps tree --verbose, aggregate --verbose, project history --verbose, project plan --verbose, project validate --verbose |
python-version |
no | 3.13 | Python version for setup-python. | Reusable workflow: extra-args (check-single.yml, check-project.yml), python-version (check-single.yml, check-project.yml), install-deps (check-single.yml, check-project.yml), dependency-source (check-single.yml, check-project.yml) |
install-deps |
no | true | Deprecated — use dependency-source instead (kept for one release cycle). Ignored if dependency-source is set. true (the default) maps to dependency-source=conda-forge; false maps to dependency-source=none. |
DEPRECATED, use the Action input dependency-source |
dependency-source |
no | — | How to install system dependencies (castxml, gcc/g++, clang, bear): 'conda-forge' (default — this repo's pixi-managed scanner conda-forge environment, castxml 0.8.x + whichever gcc/g++ conda-forge currently resolves as default; Linux/macOS only, no clang, no bear), 'conda-forge-gcc14' (same, but pinned to gcc/g++ 14.x instead of whatever's currently default; Linux-only, no clang, no bear), 'conda-forge-clang20' (castxml + clang/clang++ 20.x instead of gcc — the one conda-forge source that provides clang, needed for L4 source-ABI replay and the clang-backed call/type/include-graph edges of L5 (the structural L5 source graph itself still builds from L3 build evidence alone, without clang); Linux/macOS, no bear), 'system' (apt/Homebrew + the pinned CastXML Superbuild — the previous default, still available; installs bear on Linux only — the macOS path installs only castxml via Homebrew and relies on Xcode's preinstalled clang, no bear), or 'none' (skip; dependencies must already be on PATH). Leave unset to fall back to install-deps for backward compatibility. On a Windows runner the unset default is 'system', not 'conda-forge' — every conda-forge source is unsupported there, so the usual default would hard-fail before analysis; an explicitly requested conda-forge* still errors rather than being silently rewritten. |
Reusable workflow: extra-args (check-single.yml, check-project.yml), python-version (check-single.yml, check-project.yml), install-deps (check-single.yml, check-project.yml), dependency-source (check-single.yml, check-project.yml) |
upload-sarif |
no | false | Upload SARIF results to GitHub Code Scanning (requires security-events: write permission). Requires format=sarif and mode=compare — setting this with any other mode or format is a hard error raised before any dependency install (mode=dump/deps-tree/deps-compare never produce a SARIF report). | — |
fail-on-breaking |
no | true | Fail the step when a binary ABI break is detected (exit code 4). | Reusable workflow: gate-mode (check-single.yml) |
fail-on-api-break |
no | false | Fail the step when a source-level API break is detected (exit code 2). | Reusable workflow: gate-mode (check-single.yml) |
severity-preset |
no | — | Severity preset: 'default', 'strict', or 'info-only'. Controls exit codes and report labels. Applies to compare mode -- both the two-sided shape and the audit-only shape, where it is also the required opt-in for the AUDIT_GATE audit-gate axis: that axis is inactive by default (see the AUDIT_GATE verdict entry below), so set this to a value other than 'info-only' to gate an audit-only run on a BREAKING/API_BREAK-classified finding. Does not apply to dump, deps-tree, or deps-compare. | CLI: compare --severity-preset; Reusable workflow: severity-preset (check-single.yml, check-project.yml); .abicheck.yml: severity.preset |
set |
no | — | Config overrides for this run, one PATH=VALUE per line, for example scope.show_redundant=true. Each non-blank line that is not a # comment is forwarded verbatim as its own --set PATH=VALUE to the abicheck command, so the CLI validates the keys and values: an unknown key or a core option is a usage error (exit 64). Applies to mode: compare and dump; set on any other mode fails the step. |
CLI: compare --set, dump --set, project capture-variants --set |
require-complete-analysis |
no | false | RETIRED (rulings.py deferred-option followup -- hard removal, no deprecation window): removed and no longer forwarded. The CLI's own compare --require-complete-analysis flag it mirrored is gone entirely: P0.4's orthogonal ANALYSIS_INCOMPLETE axis is config-only now, .abicheck.yml's assurance.require_complete: true, with no CLI override. Applied identically to single-pair compare's two-sided and audit-only (--no-baseline) shapes before its removal, and rejected outright for a directory/package compare's per-library release fan-out until that operand was given real semantics: the fan-out folds every compared member's own analysis_assurance with max into the same exit axis, so assurance.require_complete: true is no longer single-pair-only. Its replacement is require-complete, the per-job override of assurance.require_complete. Still declared here so a workflow that sets it gets an explicit ::error:: naming that replacement instead of a silently-ignored input; set assurance.require_complete: true in your .abicheck.yml and pass that file as build-config, or set require-complete, then remove this input. |
RETIRED, use the .abicheck.yml key assurance.require_complete (or set: assurance.require_complete=VALUE on the Action) |
annotate |
no | false | Emit GitHub Actions workflow command annotations (inline PR-diff comments) for ABI/API findings, in compare mode's two-sided shape (single-pair and directory/package release operands alike). Not supported for compare's audit-only shape (old-library/abi-baseline both omitted) -- its report has no additions/removals to annotate, only candidate-side findings; requesting it there emits a ::notice:: explaining why and renders nothing, rather than silently producing zero annotations. Rendered by this Action itself from the run's own persisted JSON report (schema 2.43+), not by passing --annotate to the abicheck CLI -- no second comparison is ever run to collect them, for either operand shape. Has no effect on dump/deps-tree/deps-compare. A dedicated input rather than routing through extra-args: this Action's own detection of whether annotations were requested must never be ambiguous with some other extra-args value, which a free-text passthrough can't guarantee. | — |
annotate-additions |
no | false | Include additions and other compatible-but-notable changes as ::notice annotations. Off by default (only errors/warnings, plus the one notice kind that is always shown regardless of this input -- a --contract finding compatibility policy did not evaluate). Has no effect unless annotate is also true. | — |
extra-args |
no | — | Additional CLI arguments passed directly to the abicheck command. | Reusable workflow: extra-args (check-single.yml, check-project.yml), python-version (check-single.yml, check-project.yml), install-deps (check-single.yml, check-project.yml), dependency-source (check-single.yml, check-project.yml) |
add-job-summary |
no | true | Write a markdown summary to the GitHub Actions Job Summary. Ignored for dump mode. | — |
pr-comment |
no | true | Post a sticky ABI report comment on the pull request. Supports compare mode (both the two-sided shape, including directory/package operands, and the single-artifact audit-only shape), rendering the same verdict/breaking/needs-review sections plus a green "Public API additions" table, and (audit-only) a risk/coverage summary line. The comment is a content channel and never changes the check's red/green state — breaks still gate via fail-on-breaking / fail-on-api-break. Defaults to 'true', but is a no-op unless the workflow is triggered by a pull_request event and a token with 'pull-requests: write' is available. | — |
pr-comment-mode |
no | update | 'update' (default) keeps a single sticky comment and edits it in place on every run; 'new' posts a fresh comment each run. Either way the scanned head SHA is shown in the comment. | — |
pr-comment-key |
no | — | Optional key that gives this job its own sticky comment, for workflows that run the Action in several parallel jobs (matrix, per-library) on the same pull request. Folded into the hidden marker (''); 'update' mode finds and edits only the comment carrying the same key. Empty (default) keeps the single unkeyed comment exactly as before. Characters outside [A-Za-z0-9._-] become '-' (max 64 characters). | — |
pr-comment-on |
no | changes | When to comment: 'changes' (default) comments when the run produced anything a reviewer must act on -- at least one ABI/API change, a removed/added library, an incompletely checked comparison scope, a finding disposed of by a suppression rule, or a material analysis limitation the comparison itself recorded (its 'coverage_warnings', e.g. "No header/AST data; type-level changes may be missed"). A clean run whose only evidence note is a permanently-inapplicable detector (the PE and Mach-O detectors on an ELF comparison) is not such an outcome and still posts nothing. 'always' comments every run (including a clean "no changes" result), 'never' disables the comment unconditionally. Changing this input never changes the compatibility verdict, the gate, or the step's exit code -- it only decides whether a comment is written. | — |
pr-comment-report-artifact-url |
no | — | Optional direct URL of an uploaded full-report artifact (JSON/HTML), linked in the comment footer as 'Download full report' -- distinct from the always-present 'View workflow run' link. Leave unset unless an upload step actually succeeded: set it from that step's own 'artifact-url' output, so a link in the comment always corresponds to an artifact that exists. This Action does not upload artifacts itself, so it cannot derive this value. | — |
delta-baseline |
no | — | 'main' makes the PR comment show only this pull request's changes: the comment is rendered from a second comparison against the default-branch snapshot of the PR's exact base commit (uploaded by actions/main-snapshot, found by actions/fetch-main-snapshot), while the step's pass/fail still comes from the normal comparison (old-library/abi-baseline). When no snapshot is available the comment says why and shows the normal comparison. Empty (default) changes nothing. Compare mode on pull_request/merge_group only; needs 'actions: read' (delta-storage artifact) and a checkout with fetch-depth 2 (0 for delta-mode head). | — |
delta-storage |
no | artifact | Where actions/main-snapshot stored the default-branch snapshot; must match that Action's 'storage'. 'artifact' (default): a workflow artifact, whose uploading run is verified (needs 'actions: read' and delta-snapshot-workflow). 'cache': the Actions-cache entry under the exact key for the base commit -- no token permission needed, so it also serves fork pull requests of a private repository; its origin record is self-reported, and it is refused (outcome untrusted_source) on a pull request into another branch and on merge_group. See docs/reference/main-snapshot.md. | — |
delta-snapshot-workflow |
no | — | File name of the workflow that runs actions/main-snapshot on the default branch (e.g. 'abi-main.yml'). Required with delta-baseline and delta-storage artifact; unused with delta-storage cache. | — |
delta-mode |
no | auto | How the PR's base commit is found: 'auto' (merge-group base on merge_group, otherwise the merge commit's first parent), 'merge-commit', or 'head' (unique merge-base; for a head checkout). | — |
delta-profile |
no | — | Profile suffix the snapshot workflow passed to main-snapshot, if any. | — |
delta-wait-timeout |
no | 600 | Seconds to wait while the base snapshot is still being built. delta-storage artifact only: the cache cannot see a run in progress. | — |
delta-base-equivalent-paths |
no | — | delta-baseline only, opt-in. Globs (one per line, relative to the repository root; '' crosses directories) naming every path that feeds this library's ABI, e.g. 'include/', 'src/**', 'CMakeLists.txt'. When the PR's exact base commit has no snapshot (a paths-filtered or skipped snapshot run, an expired or failed one), the delta uses the snapshot of its nearest first-parent ancestor (at most 50 back, provenance-checked like the base's) provided none of these paths differs between the two; the walk stops at the first ancestor where one does. The comment then reads "vs main@ |
— |
delta-operand-map |
no | — | delta-baseline only: declare that the default-branch snapshot's library and this PR's new-library are the same library when nothing else links them (a renamed file with no shared SONAME/install name, a PE DLL rename). One 'SNAPSHOT=PR' pair per line; each side may be the path, the file name, or the SONAME/install name. Without it the pairing is automatic (same SONAME/install name, a SONAME version bump, the same path or file name); a snapshot of a different library is reported as 'operand_unmatched' / 'operand_ambiguous' and never compared. | — |
delta-on-missing-base |
no | report | 'report' (default): an unavailable snapshot is explained in the comment and nothing fails. 'fail': additionally fail the job in a separate step after the comparison, so the result reads as "delta required but unavailable", never as a compatibility break. 'build': after the normal comparison, check out the base commit beside this checkout, run delta-base-build-command there, dump it with this run's new-side evidence inputs and use it as the delta base; a failed build is reported in the comment and never changes the step's status. Only for an outcome that selected a base commit (not base_unknown or base_ambiguous), and only when a comment is rendered. | — |
delta-base-build-command |
no | — | delta-on-missing-base: build only. Shell commands (bash -e) that build the base commit, run from the root of its checkout (a git worktree in runner.temp; ABICHECK_BASE_SHA names the commit). They must leave new-library and the new-side header/debug-info/build inputs at the same paths relative to the checkout root as the PR build does, and must not install over the PR build. They run without the token or the Action's inputs in their environment, and their GITHUB_ENV/GITHUB_PATH/ GITHUB_OUTPUT writes are discarded. | — |
pr-comment-detail |
no | standard | Detail level of the comment body: 'summary' (verdict + counts only), 'standard' (default; per-symbol tables for breaking/review, grouped safe list) or 'full' (every change with locations, all sections expanded). | — |
pr-comment-via |
no | direct | How the PR comment reaches the pull request. 'direct' (default) posts it from this job with github-token, exactly as before. 'artifact' never posts: it uploads the canonical JSON report, wrapped in a one-target aggregate document that records the analysed commit (github.sha -- on a pull_request run, the ephemeral merge commit) as its analysis_context, as an artifact for a trusted workflow_run publisher -- the reusable .github/workflows/report-pr.yml -- to verify and post. 'auto' uses 'artifact' on a pull_request run whose token cannot write -- a fork's (head repository differs from this one) or Dependabot's -- and 'direct' otherwise. Each run takes exactly one path, so wiring both this Action and report-pr.yml never double-posts: a run that posted directly uploads nothing, and report-pr.yml skips a run with no artifact. Never give this job a write token to make the fork case work; that is what 'artifact' replaces. The same pr-comment, pr-comment-on, pr-comment-key gating applies to both paths; the upload needs no permissions. See docs/use/fork-pr-reporting.md. | — |
pr-comment-artifact-name |
no | — | Name of the artifact pr-comment-via 'artifact' (or 'auto' on a fork) uploads. Empty (default) derives 'abicheck-pr-report', or 'abicheck-pr-report- |
— |
github-token |
no | ${{ github.token }} | Token used to post the PR comment and to auto-fetch release baselines. Defaults to the workflow token; requires 'pull-requests: write' for the comment. | — |
ast-frontend |
no | — | RETIRED (no transition period). Setting this input fails the run before any analysis. Replace it in your workflow with set: compile.frontend=<value>, then remove ast-frontend. |
RETIRED, use the .abicheck.yml key compile.frontend (or set: compile.frontend=VALUE on the Action) |
gcc-path |
no | — | RETIRED (no transition period): renamed to compiler. Setting this input fails the run before any analysis with an ::error:: naming compiler. Replace gcc-path with compiler, then remove gcc-path. |
RETIRED, use the Action input compiler |
gcc-options |
no | — | RETIRED (no transition period). Setting this input fails the run before any analysis. Replace it in your workflow with set: compile.options=[<flag>, ...], then remove gcc-options. |
RETIRED, use the .abicheck.yml key compile.options (or set: compile.options=VALUE on the Action) |
analysis-assurance-complete |
no | — | RETIRED (no transition period): renamed to require-complete. Setting this input fails the run before any analysis with an ::error:: naming require-complete. Replace analysis-assurance-complete with require-complete, then remove analysis-assurance-complete. |
RETIRED, use the Action input require-complete |
public-header-dir |
no | — | RETIRED (no transition period). Setting this input fails the run before any analysis. Replace it in your workflow with header: <dir> ... (it was forwarded as -H, which is what header does), then remove public-header-dir. |
RETIRED, use the Action input header |
debug-info1 |
no | — | RETIRED (no transition period): renamed to old-debug-info. Setting this input fails the run before any analysis with an ::error:: naming old-debug-info. Replace debug-info1 with old-debug-info, then remove debug-info1. |
RETIRED, use the Action input old-debug-info |
debug-info2 |
no | — | RETIRED (no transition period): renamed to new-debug-info. Setting this input fails the run before any analysis with an ::error:: naming new-debug-info. Replace debug-info2 with new-debug-info, then remove debug-info2. |
RETIRED, use the Action input new-debug-info |
old-version |
no | — | RETIRED (no transition period): renamed to old-label. Setting this input fails the run before any analysis with an ::error:: naming old-label. Replace old-version with old-label, then remove old-version. |
RETIRED, use the Action input old-label |
new-version |
no | — | RETIRED (no transition period): renamed to new-label. Setting this input fails the run before any analysis with an ::error:: naming new-label. Replace new-version with new-label, then remove new-version. |
RETIRED, use the Action input new-label |
policy-file |
no | — | RETIRED (no transition period): renamed to policy. Setting this input fails the run before any analysis with an ::error:: naming policy. Replace policy-file with policy, then remove policy-file. |
RETIRED, use the Action input policy |
gcc-prefix |
no | — | RETIRED (no transition period): renamed to compiler. Setting this input fails the run before any analysis with an ::error:: naming compiler. Replace gcc-prefix with compiler, then remove gcc-prefix. |
RETIRED, use the Action input compiler |
devel-pkg1 |
no | — | RETIRED (no transition period): renamed to old-header. Setting this input fails the run before any analysis with an ::error:: naming old-header. Replace devel-pkg1 with old-header, then remove devel-pkg1. |
RETIRED, use the Action input old-header |
devel-pkg2 |
no | — | RETIRED (no transition period): renamed to new-header. Setting this input fails the run before any analysis with an ::error:: naming new-header. Replace devel-pkg2 with new-header, then remove devel-pkg2. |
RETIRED, use the Action input new-header |
Outputs (17)¶
| Output | Description |
|---|---|
verdict |
ABI verdict. For compare (single-pair or directory/package operands, two-sided shape): COMPATIBLE, COMPATIBLE_WITH_RISK (a real, exit-0 tier -- the report found a compatible-but-risky change, e.g. a toolchain-floor raise; R1, CLI-audit: this was previously laundered into plain COMPATIBLE at exit 0, silently dropping every risk finding from this Action's own output), SEVERITY_ERROR (with the severity-preset input, or when a severity.addition: error key in the repository's .abicheck.yml detects new public API additions), COVERAGE_INCOMPLETE (with --contract via extra-args, when the selected contract domain cannot be closed on the available evidence -- the orthogonal coverage axis, which leaves the compatibility verdict unchanged), SCOPE_INCOMPLETE (directory/package operands only: a selected member went unchecked under .abicheck.yml's scope.on_incomplete: block key, or the run completed no comparison at all -- the completeness axis, orthogonal to the compatibility verdict, which then covers the compared members only; fails the step unconditionally, since no fail-on-* input governs it), ADDITIONS_UNACKNOWLEDGED (single-pair compare with .abicheck.yml's acknowledgments.unacknowledged_additions: block, when public additions are not covered by a record in the acknowledgments.file it names -- the additions-review axis, orthogonal to the compatibility verdict: the additions keep their verdict; fails the step unconditionally, since no fail-on-* input governs it), RULES_UNUSED (both compare shapes: a policy file's unused_rules: block, when a configured suppression/reclassify rule matched nothing -- read from the report's exit.unused_rules_contribution, or exit_axes.unused_rules on the audit-only shape; orthogonal to the compatibility verdict; fails the step unconditionally, since no fail-on-* input governs it), ANALYSIS_INCOMPLETE (with .abicheck.yml's assurance.require_complete: true, when analysis_assurance.status is not "complete" -- P0.4's orthogonal assurance axis, which likewise leaves the compatibility verdict unchanged. Applies at any operand cardinality: for a directory/package operand it is max over every compared member's own contribution, so one member short of complete analysis publishes this verdict for the whole release, and the release JSON's analysis_assurance block names which members fell short. It used to be rejected outright for that operand, and this output declared itself single-pair-only on the strength of that rejection), UNCONFIRMED (no break was observed, but a compared side has no type-level evidence -- no debug info, no header AST -- so the compatibility claim cannot be confirmed; read from the report's exit.unconfirmed_contribution. Exit 1 and fails the step under the default .abicheck.yml assurance.unconfirmed: fail, since no fail-on-* input governs it; published at exit 0 under assurance.unconfirmed: warn. For a directory/package operand it is max over every compared member. Supply headers for both sides or compare unstripped debug builds to confirm), API_BREAK, BREAKING, REMOVED_LIBRARY (directory/package operands with fail-on-removed-library set), ERROR, or REPORT_UNREADABLE (abicheck itself exited 0, but the JSON report you requested was absent, truncated, unparseable, not a JSON object, an empty one, or a document that parsed cleanly while carrying no abicheck result at all (no verdict, no run_outcome, no findings) -- so nothing read this run's result. At exit 0 it also covers a report whose analysis_assurance block has no analysis_assurance_exit_contribution beside it on a schema that emits the two together, which makes it internally inconsistent rather than passing. That last case is scoped to exit 0 deliberately: at a nonzero exit the report's own compatibility verdict IS readable, and the two axes are orthogonal, so the real verdict (BREAKING/API_BREAK/...) is published rather than erased -- replacing an established break with "no result" would discard evidence, which is the opposite of this value's purpose. The inconsistency still fails the step unconditionally and still emits its own error annotation on every exit path; only the verdict label differs. Fails the step unconditionally and is never waived by a fail-on-* input: none of those is a statement that an unread result should be reported as a pass. Distinct from ERROR, which is abicheck reporting its own failure through a non-zero exit code; here the tool claimed success and the report backing that claim is missing or unusable. "Requested" means format: json (whether it lands in output-file or on stdout) or your own extra-args -o json=PATH; with a non-json format, the absence of this Action's own internal sidecar still yields COMPATIBLE, since exit 0 does establish that abicheck's gate passed even when the tier cannot be read. Previously every one of these states published COMPATIBLE). For compare's audit-only shape (old-library and abi-baseline both omitted -- the replacement for a baseline-less mode: scan/audit: true request): COVERAGE_INCOMPLETE (with --contract via extra-args, when the selected contract domain cannot be closed on the available evidence -- the same orthogonal coverage axis as the two-sided shape above; unlike the two-sided shape, there is no bare severity-gate exit 1 here -- severity-based audit gating uses the dedicated exit 3 below instead. This is one of exit 1's four causes on this shape, alongside ANALYSIS_INCOMPLETE below, RULES_UNUSED (configured policy rules that matched nothing under unused_rules: block) and a dry-run-only preview of the exit-7 blocker; see the exit-code output's own description for all four), AUDIT_GATE (a real, BREAKING/API_BREAK-classified finding was detected against the candidate's own public surface while a severity preset other than info-only was in effect. Gating is opt-in: this Action never injects a preset on your behalf, so you must set the severity-preset input yourself (e.g. default) to get this axis at all -- unlike legacy mode: scan's own audit mode, which gated by default with no flag needed; see the migration notes in this file's mode input and in docs/use/github-action.md. This is NOT a two-sided compatibility verdict -- an audit reports no additions, removals, or compatibility verdict at all; only the candidate-side findings themselves. Exit code 3, fails the step unconditionally, since no fail-on-* input governs an axis with no compatibility verdict to follow), AUDIT_CLEAN (exit 0: the same shape as AUDIT_GATE, but no candidate-side finding at all was detected against the candidate's own public surface -- not a two-sided compatibility verdict either, since no baseline was compared), AUDIT_RISK (exit 0: a real candidate-side finding WAS detected, but this run did not gate on it -- no severity-preset opt-in reached a BREAKING/API_BREAK-classified finding, or the only finding present is RISK-classified, which policy/audit_gate_exit.py never gates regardless of preset. Distinct from AUDIT_CLEAN so a reviewer can tell "nothing found" apart from "something found, not gating" -- both exit 0, neither fails the step, but only one has something worth reading in the JSON report's findings[]), DRY_RUN (exit 0, dry-run input true or an effective --dry-run via extra-args: compare --dry-run performs no analysis and writes no report at all, so there is no candidate-side finding -- or absence of one -- to claim either way. Distinct from AUDIT_CLEAN, which asserts a real audit ran and found nothing; see the command preview in the job log for what a real run would do. A two-sided dry run now publishes this same value, for the same reason: a preview performs no comparison, so it has no compatibility result either. That shape used to publish COMPATIBLE, which claimed a result no analysis produced), ANALYSIS_INCOMPLETE (with .abicheck.yml's assurance.require_complete: true, when analysis_assurance.status is not "complete" -- the same P0.4 orthogonal assurance axis as the two-sided shape above, reachable here since that config key applies to both compare shapes; not a two-sided compatibility verdict either, since no baseline was compared -- fails the step unconditionally), REPORT_UNREADABLE (reachable on this shape too, for the same reason and with the same meaning as in the two-sided enumeration above: an exit-0 run whose requested JSON report was missing, unusable, or self-contradictory establishes no result, and an audit's AUDIT_CLEAN/ AUDIT_RISK are results like any other. Listed here explicitly because the enumerations are read per shape and this value was documented only above, leaving the audit-only contract incomplete), NOT_COMPARABLE (two-sided shape only, with the old-library or abi-baseline input: when the candidate and baseline were not extracted under a comparable profile/scope contract, so no comparison could run at all; this verdict fails the step unconditionally, since no fail-on-* input governs a run in which no comparison happened. Never reachable on the audit-only shape, which has no baseline to mismatch against), BUDGET_OVERFLOW (the run's time budget ran out: the budget input on the two-sided shape, else the 2h default; the audit-only shape runs under the 2h default and cannot raise it), EVIDENCE_CONTRACT_ERROR (this run's evidence contract could not be satisfied -- so no comparison could run at all: a pinned --depth/--source-method whose required source evidence was never collected. Two-sided shape only for the --abi3-floor-targeting-an-unrecognisable-binary cause -- no_baseline_rulings.py explicitly rejects --abi3-floor on the audit-only shape as an unsupported option (a usage error, exit 64) rather than reaching this verdict, since stable-ABI auditing is candidate-side and not yet wired to the no-baseline path -- see the command's own error message for which cause applied on the two-sided shape. Like NOT_COMPARABLE, this fails the step unconditionally and is distinct from ERROR, which covers a genuine CLI/config error. The --depth/--source-method cause is reachable on the audit-only shape too, since the underlying precondition checks run regardless of whether a baseline comparison follows -- this axis is unambiguous to action/run.sh's exit-code dispatch regardless of format, pr-comment setting, or extra-args, closing a gap four successive review rounds found in three earlier signaling designs (a stderr marker line, then a marker-file path, each shown forgeable by a PR-controlled build script the run's own evidence collection spawns). Whether a JSON report also exists for this Action to read (auto-injected -o json=... sidecar, extra-args naming one, or format: json; extra-args exports are added beside this Action's own, replacing it only when they name the same destination) still decides only whether the sticky PR comment and JSON-consuming outputs have structured detail to show, not whether this verdict/exit-code publish at all), or ERROR. For dump: COMPATIBLE or ERROR. For deps-compare: PASS, WARN, FAIL, or ERROR. For deps-tree: PASS, FAIL, or ERROR. For a two-sided compare, verdict and exit-code are different axes and may disagree: BREAKING/API_BREAK follows the report's compatibility verdict (what was detected) while the exit code follows what the severity policy chose to gate on. So a demoting policy (e.g. --severity-preset info-only) can publish BREAKING with exit code 0 (nothing gated), and a policy that demotes abi_breaking while some other gate still fires -- potential_breaking: error, say -- can publish BREAKING with exit code 2. The same holds at exit code 1: a demoted abi_breaking alongside an error-level addition/quality finding publishes BREAKING or API_BREAK while the exit code names the severity tier that gated, so exit 1 is not always SEVERITY_ERROR or COVERAGE_INCOMPLETE. In both cases the verdict stays truthful and the step still gates at the tier the exit code names, so fail-on-breaking does not re-gate a break the policy demoted. Branch on verdict for what was found, and on exit-code for the tier abicheck itself gated at. Note that neither is the same as whether this step failed: the fail-on-* inputs decide that, so an ordinary API break with the default fail-on-api-break: false publishes exit-code 2 from a step that succeeded. Use the step's own outcome/conclusion for that. |
exit-code |
abicheck exit code. compare, two-sided shape: 0 (compatible), 1 (severity error, incomplete contract coverage, incomplete analysis assurance with .abicheck.yml's assurance.require_complete: true, or -- directory/package operands -- an incompletely checked comparison scope under .abicheck.yml's scope.on_incomplete: block key, or no comparison completed at all under either setting; the four share the code and are told apart by the report's pre-fold severity.exit_code / contract_coverage_exit_contribution / analysis_assurance.status / the exit block's incomplete_scope_contribution and no_comparison_completed_contribution; also unacknowledged public additions under acknowledgments.unacknowledged_additions: block (exit.additions_review_contribution) and configured policy rules that matched nothing under unused_rules: block (exit.unused_rules_contribution)), 2 (API break), 4 (ABI break), 8 (library proven removed; directory/package operands with fail-on-removed-library set and a proven-complete NEW inventory). compare, audit-only shape (old-library/abi-baseline both omitted): 0 (compatible/advisory, or DRY_RUN under dry-run: true -- see the verdict output's own description), 1 (configured policy rules that matched nothing under unused_rules: block, exit_axes.unused_rules; incomplete contract coverage, or incomplete analysis assurance with .abicheck.yml's assurance.require_complete: true -- unlike the two-sided shape, there is no bare severity-gate exit-1 source here (severity-based audit gating uses the dedicated exit 3 below instead). A third cause, dry-run only: with dry-run true, a live-candidate (not a stored snapshot) request pinning depth: build/source via extra-args with no sources/build-info given previews a blocker the real run would hit at exit 7 -- the dry-run preview itself reports VERDICT ERROR at exit 1 rather than 7, since no analysis actually ran to collect that evidence contract in the first place. These four are exit 1's only causes on this shape; coverage and assurance are told apart the same way, one level down under diff), 3 (AUDIT_GATE -- the audit-gate axis; see the verdict output's own description above), 7 (evidence-contract error, VERDICT=EVIDENCE_CONTRACT_ERROR -- a pinned --depth/--source-method whose required source evidence was never collected; reachable on the audit-only shape too, since the underlying precondition checks run regardless of whether a baseline comparison follows. The other two-sided-shape cause, --abi3-floor targeting a binary that isn't a recognisable CPython extension module, does NOT reach exit 7 on the audit-only shape -- --abi3-floor is rejected there upstream as an unsupported option (exit 64 usage error), since stable-ABI auditing isn't wired to the no-baseline path yet -- see the verdict output's own description above). 5 (budget overflow) applies to both shapes: the two-sided shape's budget input, else the 2h default; the audit-only shape rejects the budget input (per its own description) and runs under the 2h default. deps-compare: 0 (pass), 1 (warn), 4 (fail). deps-tree: 0 (ok), 1 (missing). Click CLI errors are mapped to VERDICT=ERROR. |
report-path |
Path to the generated report file. Set when output-file is provided, or auto-populated for SARIF format (defaults to abicheck-results.sarif). Withheld (empty) when format: sarif and upload-sarif: true were both requested but extra-args' own exports replaced it with a non-sarif format -- the real file exists but its content isn't SARIF, and this is the exact value the upload-sarif step below gates on, so withholding it skips that upload rather than feeding mismatched content to CodeQL. |
delta-outcome |
delta-baseline only: the base-snapshot outcome ('resolved', 'base_pending', 'snapshot_missing', ...; see docs/reference/main-snapshot.md). Empty when delta-baseline is unset. The JSON reports record it too, in their delta_baseline block (comparison_role gate or delta). |
delta-base-sha |
delta-baseline only: the base commit the delta was measured against. |
delta-snapshot-sha |
delta-baseline only, when the base snapshot resolved: the commit whose snapshot was fetched -- delta-base-sha itself, or under delta-base-equivalent-paths its path-equivalent ancestor. |
delta-comment-outcome |
delta-baseline only: what the PR comment shows -- the lookup outcome, or 'base_built' / 'base_build_failed' / 'base_dump_failed' after delta-on-missing-base: build, 'rerun_failed', 'unsupported_operand' or an operand_* identity refusal. Empty when no comment was rendered. |
delta-operand-match |
delta-baseline only: how the snapshot's library was paired with new-library when the delta ran ('loader_name', 'loader_name_version', 'file_name', 'file_name_version', 'declared'); empty otherwise. |
pr-comment-delivery |
Which path pr-comment-via resolved to for this run: 'direct' (this job handled the comment itself), 'artifact' (a report artifact was uploaded for report-pr.yml to publish), or 'none' (pr-comment-via 'artifact'/'auto' on a run that comments nothing -- not a pull_request event, not compare mode, pr-comment false or pr-comment-on never). |
pr-report-artifact-name |
Name of the uploaded PR report artifact, or empty when none was uploaded (delivery not 'artifact', or the run produced no report). |
baseline-source |
Which release baseline this run compared against: legacy-asset (a single .abicheck.json[.gz|.zst] release asset), baseline-set (a release-contract baseline-set archive selected by baseline-profile and baseline-target), or direct-path (abi-baseline given as a file path). Empty when no release baseline was resolved. The JSON report's baseline_provenance block carries this and the other baseline- values, marked asserted_by: action. |
baseline-asset-name |
Name of the release asset the baseline came from (the archive name for baseline-set, the *.abicheck.json file name for legacy-asset). Empty when no release baseline was resolved. |
baseline-project-ref |
The manifest project_ref of a baseline-set baseline. Empty for any other baseline source. |
baseline-generation |
The manifest baseline_generation of a baseline-set baseline, or empty when the set records none (or for any other baseline source). |
baseline-profile |
The manifest profile of a baseline-set baseline. Empty for any other baseline source. |
baseline-archive-digest |
'sha256: |
baseline-archive-verified |
'true' when expected-archive-digest was set and matched the archive, 'false' when it was not set. Empty for any other baseline source. |