| ontology-path | Path to the ontology file, relative to the repo root (e.g. ontology/era.ttl). | yes | — |
| baseline-ref | Git ref (branch, tag, or commit SHA) to diff against. The default "auto" resolves per the Action's baseline-detection algorithm: the PR base branch in a pull_request, the previous commit (HEAD~1) on a branch push, the previous tag on a tag push, and "main" as a last-resort fallback. A workflow_dispatch run with "auto" fails fast and asks for an explicit ref. | no | auto |
| formats | Comma-separated output formats to generate. Valid values: junit, html, markdown, json. The markdown report is what gets posted as the PR comment; html and xml (junit) are uploaded as artifacts. | no | junit,html,markdown |
| python-version | Python version for actions/setup-python to install. | no | 3.11 |
| owlcompare-version | Which owlcompare to install. "latest" installs the newest published release (with a git fallback for development), "local" installs the checked-out repository in editable mode (used to self-test this Action against live code), and any other value is treated as an exact version (pip install owlcompare==<value>). | no | latest |
| fail-on-breaking | Fail the CI build (exit non-zero) when breaking changes are detected. | no | true |
| post-pr-comment | Post the Markdown report as a PR comment, updating the same comment in place on subsequent runs. Has no effect outside a pull_request event. | no | true |
| upload-artifacts | Upload the generated HTML/JUnit (and other) reports as a workflow artifact. | no | true |
| severity-config | Path to a TOML severity-override config (empty = use built-in severity rules). | no | "" |
| rename-mapping | Path to a TOML rename-mapping file (empty = rely on automatic rename detection). | no | "" |
| rename-confidence | Lowest rename-detection confidence to accept: certain, high (default), medium, or none (disable rename detection). | no | high |
| comment-marker | Hidden HTML-comment marker that identifies this Action's PR comment, so it can be updated in place instead of posting a new comment each run. | no | <!-- owlcompare-diff --> |