Skip to content

Commit b7d4e06

Browse files
committed
feat: Add has-changes output to expose plan change detection
Exposes the existing internal change detection as a new action output, allowing workflows to easily check if the Terraform plan contains changes.
1 parent 2fd4126 commit b7d4e06

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ outputs:
8585
plan_json:
8686
description: "Path to the terraform plan in JSON format"
8787
value: "${{ steps.results.outputs.plan_file_json }}"
88+
has-changes:
89+
description: "Whether the plan has changes. Value is string 'true' or 'false'"
90+
value: "${{ steps.atmos-plan.outputs.changes }}"
8891

8992
runs:
9093
using: "composite"

0 commit comments

Comments
 (0)