Repository navigation
Releases: TrianaLab/pacto-actions
Releases · TrianaLab/pacto-actions
Release list
v1.8.2
What's Changed
- build(deps): bump actions/cache from 5.0.3 to 5.0.5 by @dependabot[bot] in #15
- build(deps): bump actions/checkout from 6.0.2 to 6.0.3 by @dependabot[bot] in #16
- build(deps): bump actions/checkout from 6.0.3 to 7.0.0 by @dependabot[bot] in #17
- build(deps): bump actions/cache from 5.0.5 to 6.0.0 by @dependabot[bot] in #18
- fix(setup): handle pacto v2 multiline version output + suppress update checks by @edu-diaz in #19
New Contributors
- @dependabot[bot] made their first contribution in #15
Full Changelog: v1...v1.8.2
v1.8.1
What's Changed
- fix: avoid unbound array expansion on macOS bash 3 by @edu-diaz in #14
- fix: add CI, dependabot, and auto-release workflows by @edu-diaz in #13
Full Changelog: v1...v1.8.1
v1.8.0
What's New
Collapsible large tables in PR comments
Markdown tables longer than 15 lines posted by the diff and doc commands as PR comments are now wrapped in a <details> block, so big contracts no longer produce huge unscrollable comments.
- Small tables render inline as before.
- Tables inside fenced code blocks are left untouched.
- Only applies to markdown output —
textandjsondiff output are unaffected.
v1.7.0
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=9090New 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 |
v1.6.0
v1.5.0
What's New
- Markdown output format for diff: Added
markdownas a supportedoutput-formatoption for thediffcommand. When used, step summaries and PR comments render the diff output as native markdown instead of wrapping it in code fences.
Usage
- uses: trianalab/pacto-actions@v1
with:
command: diff
old: oci://ghcr.io/my-org/my-service:v1.0.0
new: ./pactos/my-service
output-format: markdownv1.4.0
v1.3.0
What's New
- Diff PR comments: The
diffcommand now supportscomment-on-pr: 'true'to post diff results as a PR comment with breaking change status indicator (⚠️ / ✅) - Reliable diff comments: Diff comments are posted even when
fail-on-breaking: truecauses the step to fail, usingalways() - Unique PR comment markers: Comment markers now include the contract path/ref, so multiple invocations for different services produce independent comments instead of overwriting each other
- Updated examples: README examples use tag-less OCI refs for automatic semver resolution
v1.2.1
What's New
- Automatic
GH_TOKENfor all commands: Thegithub-tokeninput (defaults toGITHUB_TOKEN) is now passed asGH_TOKENto all commands (diff,doc,push), removing the need for manualenvconfiguration. Can be overridden via thegithub-tokeninput.
v1.2.0
What's New
- OCI bundle caching: Persist
~/.cache/pacto/oci/across workflow runs usingactions/cache@v4, enabled by default. Speeds up repeated operations against the same OCI references. - New
cacheinput (default:true) to control caching. Set tofalseto bypass caching (equivalent topacto --no-cache).