Skip to content

v0.0.47

Choose a tag to compare

@reuvenharrison reuvenharrison released this 10 May 16:04
· 90 commits to main since this release
6147a58

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_CONFIG in the workflow env: 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-on from .oasdiff.yaml is honored correctly. The breaking action now runs oasdiff fewer times and tolerates oasdiff's non-zero exit when a config-file fail-on fires, so the threshold is applied without the step erroring out for the wrong reason (#112).

Full Changelog: v0.0.46...v0.0.47