v0.0.47
Highlights
New: configure the actions with .oasdiff.yaml
All four actions (breaking, changelog, diff, pr-comment) now automatically pick up a .oasdiff.yaml file from the root of your checked-out repository, so you can keep CLI-flag-shaped options in source control instead of repeating the same with: block in every workflow.
# .oasdiff.yaml
fail-on: ERR
exclude-elements:
- description
- title
- summary- Precedence: action
with:inputs override.oasdiff.yaml, which overrides the built-in defaults. - Custom path: set
OASDIFF_CONFIGin the workflowenv:to point at a config file elsewhere. - The older
oasdiff.yaml(no leading dot) still works as a fallback.
See the "Configuring with .oasdiff.yaml" section of the README and the oasdiff config-file reference for the full list of keys.
Upgraded to oasdiff v1.15.3
Fixes
fail-onfrom.oasdiff.yamlis honored correctly. Thebreakingaction now runs oasdiff fewer times and tolerates oasdiff's non-zero exit when a config-filefail-onfires, so the threshold is applied without the step erroring out for the wrong reason (#112).
Full Changelog: v0.0.46...v0.0.47