Skip to content

Commit 8c59187

Browse files
committed
changed so workflow will run when push to my branch
1 parent a5d866f commit 8c59187

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/terraform-plan.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: 'Terraform'
22

3-
on: workflow_dispatch # for manual runs, can be replaced by push, pull_request, etc.
3+
on:
4+
workflow_dispatch: # Allows manual runs from the Actions tab
5+
pull_request:
6+
branches:
7+
- PP-12736-tf-workflow
48

59
permissions:
610
contents: read
@@ -39,7 +43,7 @@ jobs:
3943
run: terraform plan -input=false
4044
env:
4145
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
42-
46+
4347
TF_VAR_mx_password: ${{ secrets.MX_PASSWORD }}
4448
TF_VAR_vpc_network: ${{ vars.VPC_NETWORK }}
4549
TF_VAR_subnet_name: ${{ vars.SUBNET_NAME }}

0 commit comments

Comments
 (0)