diff --git a/.github/workflows/tfc_plan_ci.yaml b/.github/workflows/tfc_plan_ci.yaml index c10d0d4..5a223a8 100644 --- a/.github/workflows/tfc_plan_ci.yaml +++ b/.github/workflows/tfc_plan_ci.yaml @@ -2,6 +2,10 @@ name: TFC Plan on: + push: + paths: + # Replace with your directory, relative to the root of the project + - 'terraform/**.tf' pull_request: branches: - main diff --git a/terraform/provider.tf b/terraform/provider.tf index c1cf3a7..a568c73 100644 --- a/terraform/provider.tf +++ b/terraform/provider.tf @@ -5,4 +5,4 @@ provider "aws" { environment = var.environment } } -} \ No newline at end of file +}