From 760b640e07d08f01e30bf84ccd12c73bb3f380b0 Mon Sep 17 00:00:00 2001 From: Luke Fritz Date: Wed, 9 Nov 2022 01:34:51 -0600 Subject: [PATCH] Make homebrew install optional for pre-commit (patch) --- .github/workflows/validation.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/validation.yaml b/.github/workflows/validation.yaml index bdc2196..1670d48 100644 --- a/.github/workflows/validation.yaml +++ b/.github/workflows/validation.yaml @@ -31,6 +31,7 @@ jobs: with: python-version: 3.x - uses: Homebrew/actions/setup-homebrew@master + if: inputs.validateTerraform == true - name: Install Terraform dependencies if: inputs.validateTerraform == true run: brew install tflint tfsec