From 4464fe545e77b615c8df296f01f31694dec46217 Mon Sep 17 00:00:00 2001 From: Zack Pollard Date: Fri, 31 May 2024 19:48:46 +0100 Subject: [PATCH] fix: don't run terragrunt plan on main (#44) --- .github/workflows/terragrunt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/terragrunt.yaml b/.github/workflows/terragrunt.yaml index 06b3930e..6c7ff855 100644 --- a/.github/workflows/terragrunt.yaml +++ b/.github/workflows/terragrunt.yaml @@ -38,6 +38,7 @@ jobs: tg_command: 'run-all fmt -diff -check' plan: runs-on: ubuntu-latest + if: github.ref != 'refs/heads/main' steps: - name: 'Checkout' uses: actions/checkout@main