Skip to content

Commit 50eb375

Browse files
Filter the paths for pipeline run
1 parent 8494f46 commit 50eb375

File tree

5 files changed

+17
-0
lines changed

5 files changed

+17
-0
lines changed

.github/workflows/create-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- 'src/**'
9+
- 'infra/**'
10+
- 'azure.yaml'
11+
- '.github/workflows/create-release.yml'
712

813
permissions:
914
contents: write

src/ContentProcessor/azure_cicd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ trigger:
22
branches:
33
include:
44
- main
5+
paths:
6+
include:
7+
- src/ContentProcessor/**
58

69
# When multiple commits land quickly on main, only run the latest.
710
batch: true

src/ContentProcessorAPI/azure_cicd.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ trigger:
22
branches:
33
include:
44
- main
5+
paths:
6+
include:
7+
- src/ContentProcessorAPI/**
58

69
# When multiple commits land quickly on main, only run the latest.
710
batch: true

src/ContentProcessorWeb/azure_cicd.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ trigger:
33
include:
44
- main
55
- frontend_dev
6+
paths:
7+
include:
8+
- src/ContentProcessorWeb/**
69

710
# When multiple commits land quickly on main, only run the latest.
811
batch: true

src/ContentProcessorWorkflow/azure_cicd.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ trigger:
22
branches:
33
include:
44
- main
5+
paths:
6+
include:
7+
- src/ContentProcessorWorkflow/**
58

69
# When multiple commits land quickly on main, only run the latest.
710
batch: true

0 commit comments

Comments
 (0)