Skip to content

Commit 93942e4

Browse files
Filter the paths for pipeline run
1 parent cf26e4e commit 93942e4

3 files changed

Lines changed: 27 additions & 1 deletion

File tree

.azdo/pipelines/azure-dev.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
# Run when commits are pushed to mainline branch (main or master)
22
# Set this to the mainline branch you are using
33
trigger:
4-
- main
4+
branches:
5+
include:
6+
- main
7+
paths:
8+
include:
9+
- src/*
10+
- infra/*
11+
- azure.yaml
12+
- azure_custom.yaml
13+
- .azdo/pipelines/azure-dev.yml
14+
exclude:
15+
- '*.md'
16+
- docs/*
17+
- data/*
518

619
# Azure Pipelines workflow to deploy to Azure using azd
720
# To configure required secrets and service connection for connecting to Azure, simply run `azd pipeline config --provider azdo`

.github/workflows/create-release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ on:
22
push:
33
branches:
44
- main
5+
paths:
6+
- 'src/**'
7+
- 'infra/**'
8+
- 'data/**'
9+
- 'azure.yaml'
10+
- 'azure_custom.yaml'
11+
- '.github/workflows/create-release.yml'
512

613
permissions:
714
contents: write

.github/workflows/deploy-waf.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
push:
99
branches:
1010
- main
11+
paths:
12+
- 'src/**'
13+
- 'infra/**'
14+
- 'azure.yaml'
15+
- 'azure_custom.yaml'
16+
- '.github/workflows/deploy-waf.yml'
1117
schedule:
1218
- cron: "0 11,23 * * *" # Runs at 11:00 AM and 11:00 PM GMT
1319

0 commit comments

Comments
 (0)