summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiejunZhou <[email protected]>2023-04-17 13:16:14 +0800
committerGitHub <[email protected]>2023-04-17 13:16:14 +0800
commitd64ef2ab064047ab5aed15c7861e5a44ab8022e3 (patch)
tree78195b2f9613fd426ddfe9ddc2d1ed6c07792165
parent4c4547d5d5a837fbc5ed0f8ba3315792da732f2a (diff)
Filter the path for PR trigger and add codeowners (#248)
* Filter the path for PR trigger * Add codeowners * Fix syntax in pipeline
-rw-r--r--.github/CODEOWNERS1
-rw-r--r--.github/workflows/ci_cortex_m0.yml5
-rw-r--r--.github/workflows/ci_cortex_m3.yml5
-rw-r--r--.github/workflows/ci_cortex_m4.yml5
-rw-r--r--.github/workflows/ci_cortex_m7.yml5
-rw-r--r--.pipelines/smp.yml13
-rw-r--r--.pipelines/tx.yml12
7 files changed, 44 insertions, 2 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
new file mode 100644
index 00000000..f8a27b70
--- /dev/null
+++ b/.github/CODEOWNERS
@@ -0,0 +1 @@
+@azure-rtos/admins \ No newline at end of file
diff --git a/.github/workflows/ci_cortex_m0.yml b/.github/workflows/ci_cortex_m0.yml
index b098514e..0e1568f4 100644
--- a/.github/workflows/ci_cortex_m0.yml
+++ b/.github/workflows/ci_cortex_m0.yml
@@ -9,6 +9,11 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
+ paths:
+ - ".github/workflows/ci_cortex_m0.yml"
+ - 'common/**'
+ - 'utility/**'
+ - 'ports/cortex_m0/gnu/**'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
diff --git a/.github/workflows/ci_cortex_m3.yml b/.github/workflows/ci_cortex_m3.yml
index 179c19b3..c5812025 100644
--- a/.github/workflows/ci_cortex_m3.yml
+++ b/.github/workflows/ci_cortex_m3.yml
@@ -9,6 +9,11 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
+ paths:
+ - ".github/workflows/ci_cortex_m3.yml"
+ - 'common/**'
+ - 'utility/**'
+ - 'ports/cortex_m3/gnu/**'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
diff --git a/.github/workflows/ci_cortex_m4.yml b/.github/workflows/ci_cortex_m4.yml
index b2ba8a9d..30141d6b 100644
--- a/.github/workflows/ci_cortex_m4.yml
+++ b/.github/workflows/ci_cortex_m4.yml
@@ -9,6 +9,11 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
+ paths:
+ - ".github/workflows/ci_cortex_m4.yml"
+ - 'common/**'
+ - 'utility/**'
+ - 'ports/cortex_m4/gnu/**'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
diff --git a/.github/workflows/ci_cortex_m7.yml b/.github/workflows/ci_cortex_m7.yml
index 7492b697..4089cefb 100644
--- a/.github/workflows/ci_cortex_m7.yml
+++ b/.github/workflows/ci_cortex_m7.yml
@@ -9,6 +9,11 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
+ paths:
+ - ".github/workflows/ci_cortex_m7.yml"
+ - 'common/**'
+ - 'utility/**'
+ - 'ports/cortex_m7/gnu/**'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
diff --git a/.pipelines/smp.yml b/.pipelines/smp.yml
index 83644bbc..a445400d 100644
--- a/.pipelines/smp.yml
+++ b/.pipelines/smp.yml
@@ -2,7 +2,18 @@ trigger:
- master
pr:
-- master
+ branches:
+ include:
+ - master
+ paths:
+ include:
+ - ".pipelines/tx.yml"
+ - "common_smp/**"
+ - "samples/**"
+ - "test/tx/**"
+ - "utility/**"
+ - "ports_smp/linux/gnu/**"
+
pool:
vmImage: "ubuntu-22.04"
diff --git a/.pipelines/tx.yml b/.pipelines/tx.yml
index 19e4a710..92c09722 100644
--- a/.pipelines/tx.yml
+++ b/.pipelines/tx.yml
@@ -2,7 +2,17 @@ trigger:
- master
pr:
-- master
+ branches:
+ include:
+ - master
+ paths:
+ include:
+ - ".pipelines/tx.yml"
+ - "common/**"
+ - "samples/**"
+ - "test/tx/**"
+ - "utility/**"
+ - "ports/linux/gnu/**"
pool:
vmImage: "ubuntu-22.04"