halilibrahimd27/Guardian API Contract Diff

Run the Living API Contract Guardian diff against a PR's API spec. Posts inline annotations + a Markdown step-summary, and fails the workflow when breaking changes are detected unless the bypass label ('guardian:accept-breaking') is present.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
base_shaBase commit SHA (the PR target branch tip).yes
head_shaHead commit SHA (the PR head).yes
spec_pathPath to the OpenAPI spec inside the repo (JSON).yes
kindContract kind: 'openapi' or 'proto'.noopenapi
accept_breakingSet to 'true' (typically when the 'guardian:accept-breaking' label is present on the PR) to suppress the non-zero exit on breaking changes.nofalse
rulesetOptional path to a custom rules YAML.no""
python_versionPython version to set up.no3.11
namedescription
conclusionOne of 'success', 'failure' — derived from the diff verdict.
breakingNumber of breaking changes detected.
report_pathFilesystem path to the persisted ChangeReport JSON.