From e3cad844897671396e430441131abd360e51c469 Mon Sep 17 00:00:00 2001 From: sumanmanna134 Date: Fri, 26 Jul 2024 15:43:45 +0530 Subject: [PATCH] changed --- .github/workflows/terraform.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index e257a4d..65ca0ca 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -7,8 +7,6 @@ on: # Triggers the workflow on push or pull request events but only for the "main" branch push: branches: ['main'] - pull_request: - branches: ['main'] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -50,7 +48,7 @@ jobs: run: terraform plan --var-file="./tfvars/terraform.tfvars" -out azinfra.tfplan -no-color - run: echo "event name is:" ${{ github.event_name }} - - run: echo "event type is:" ${{ github.event.action }} + - run: echo "event type is:" ${{ github.ref }} # - name: Terraform apply # id: apply