Skip to content

Commit

Permalink
fix: make PR trigger also only happen for Terraform file changes
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Aug 31, 2023
1 parent 10127a2 commit d1ceddf
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions terraform/pipeline/azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
trigger:
# automatically runs on pull requests
# https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#pr-triggers
branches:
include:
- dev
Expand All @@ -15,6 +13,14 @@ trigger:
include:
- terraform/*

pr:
branches:
include:
- "*"
paths:
include:
- terraform/*

pool:
vmImage: ubuntu-latest

Expand Down

0 comments on commit d1ceddf

Please sign in to comment.