Use rootform-dev/action/compare@v1 to review architectural differences between
two sets of evidence. It installs Rootform and prepares required content;
setup, init and separate analyze steps are optional.
- uses: rootform-dev/action/compare@v1 id: comparison with: version: 0.1.0 before: ${{ runner.temp }}/before/plan.json before-plan-file: ${{ runner.temp }}/before/plan.tfplan after: ${{ runner.temp }}/after/plan.json after-plan-file: ${{ runner.temp }}/after/plan.tfplanBoth before and after are required. Each accepts plan JSON, state JSON or a
single-input Form; a Comparison Form cannot be an operand. Each supplied saved
plan must verify against its own JSON export. Omit the saved-plan input on a
state or Form side. before-stage and after-stage choose available stages;
Rootform supplies their defaults.
form is the Comparison Form, which embeds both architectures. There are no
separate before/after Form outputs. report and html present that same Form;
all three outputs are same-job paths. Reopen it with analyze or
evaluate its Policies with check. Summary and artifact upload
default to on; the primitive never comments on a PR.
See installation, version and project content and permissions, artifact retention and publication.
Type describes accepted values. GitHub passes all inputs as strings. bool accepts true or false. int accepts a whole number. An empty default leaves the input unset.
Exact fields and defaults: Action metadata.