From 49d25d968e1e49fb5421ddeb827fdffd398f1c17 Mon Sep 17 00:00:00 2001 From: John Skiles Skinner Date: Wed, 26 Jun 2024 18:40:45 -0700 Subject: [PATCH 1/2] add /** to paths --- .github/workflows/deploy-demo.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-demo.yml b/.github/workflows/deploy-demo.yml index b562131db..9886eff6c 100644 --- a/.github/workflows/deploy-demo.yml +++ b/.github/workflows/deploy-demo.yml @@ -21,8 +21,8 @@ jobs: uses: tj-actions/changed-files@v44 with: files: | - terraform/demo - terraform/shared + terraform/demo/** + terraform/shared/** .github/workflows/deploy-demo.yml - name: Terraform init if: steps.changed-terraform-files.outputs.any_changed == 'true' From f2666026bbec58cd4f130e57eaaed70998ca8b4f Mon Sep 17 00:00:00 2001 From: John Skiles Skinner Date: Wed, 26 Jun 2024 18:42:22 -0700 Subject: [PATCH 2/2] Same in the other 2 files --- .github/workflows/deploy-prod.yml | 4 ++-- .github/workflows/deploy.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index fa5036457..0778f3c78 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -25,8 +25,8 @@ jobs: uses: tj-actions/changed-files@v44 with: files: | - terraform/production - terraform/shared + terraform/production/** + terraform/shared/** .github/workflows/deploy-prod.yml - name: Terraform init if: steps.changed-terraform-files.outputs.any_changed == 'true' diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4cbd88acc..5b19bf4fa 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,8 +26,8 @@ jobs: uses: tj-actions/changed-files@v44 with: files: | - terraform/staging - terraform/shared + terraform/staging/** + terraform/shared/** .github/workflows/deploy.yml - name: Terraform init if: steps.changed-terraform-files.outputs.any_changed == 'true'