Skip to content

v1.7.0

Choose a tag to compare

@edu-diaz edu-diaz released this 20 Mar 11:53
· 18 commits to main since this release
a29304c

What's New

Override support for all commands

Added values and set inputs for validate, diff, doc, and push commands. Added diff-specific old-values, old-set, new-values, new-set inputs for applying overrides to each side independently.

This enables breaking change simulation without file edits:

- uses: trianalab/pacto-actions@v1
  with:
    command: diff
    old: oci://ghcr.io/my-org/my-service
    new: ./pactos/my-service
    new-set: |
      service.version=2.0.0
      interfaces[0].port=9090

New inputs

Input Commands Description
values validate, diff, doc, push Values file(s) to merge into the contract
set validate, diff, doc, push Set contract values inline
old-values diff Values file(s) for the old contract
old-set diff Inline overrides for the old contract
new-values diff Values file(s) for the new contract
new-set diff Inline overrides for the new contract