Skip to content

Skip Terraform apply when infrastructure is unchanged#363

Merged
MaxGhenis merged 1 commit into
mainfrom
codex/skip-terraform-when-unchanged
May 13, 2026
Merged

Skip Terraform apply when infrastructure is unchanged#363
MaxGhenis merged 1 commit into
mainfrom
codex/skip-terraform-when-unchanged

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • make the deploy workflow no-op the Terraform apply job when a push did not change terraform/**
  • keep downstream deploy jobs unblocked because the infra job still succeeds
  • update the Terraform CLI used for real infra changes

Why

The production deploy from #362 failed before application deploy in Terraform provider installation, even though this runtime release did not change infrastructure: https://github.com/PolicyEngine/policyengine-api-v2-alpha/actions/runs/25801578616

Testing

  • /tmp/actionlint-pe-api -color .github/workflows/deploy.yml

@MaxGhenis MaxGhenis force-pushed the codex/skip-terraform-when-unchanged branch from cb6d045 to a0f08c2 Compare May 13, 2026 13:29
@MaxGhenis MaxGhenis merged commit 40e3138 into main May 13, 2026
3 checks passed
@MaxGhenis MaxGhenis deleted the codex/skip-terraform-when-unchanged branch May 13, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant