From e47b6a2fa4ba734f1ecc1d6c3394eddd328ecb74 Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Thu, 8 Aug 2024 08:01:34 -0400 Subject: [PATCH] Allow workflow dispatch --- .github/workflows/apply.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/apply.yml b/.github/workflows/apply.yml index 0abff45..8e6650d 100644 --- a/.github/workflows/apply.yml +++ b/.github/workflows/apply.yml @@ -11,8 +11,7 @@ env: TF_VAR_project: ${{ secrets.GCLOUD_PROJECT }} jobs: terraform: - if: github.event.pull_request.merged == true - + if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true }} name: Run Terraform Apply runs-on: ubuntu-latest permissions: