Configure test jobs for restricted submodule work

Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
Change-Id: I5506752399dafa640d4e061bc9d1c65fb0d01044
diff --git a/mbed-tls-framework-restricted-ci-testing.yaml b/mbed-tls-framework-restricted-ci-testing.yaml
index be6f324..5b637b5 100644
--- a/mbed-tls-framework-restricted-ci-testing.yaml
+++ b/mbed-tls-framework-restricted-ci-testing.yaml
@@ -27,7 +27,7 @@
                       </traits>
                     </scm>
                   </retriever>
-                  <defaultVersion>main</defaultVersion>
+                  <defaultVersion>staging/pr-ci-testing</defaultVersion>
                   <implicit>true</implicit>
                   <allowVersionOverride>true</allowVersionOverride>
                   <includeInChangesets>true</includeInChangesets>
@@ -44,17 +44,19 @@
         discover-pr-forks-strategy: both
         discover-pr-forks-trust: nobody
         discover-pr-origin: both
-        head-filter-regex: 'PR-1-head'
+        head-filter-regex: 'PR-(1)-(head|merge)'
         status-checks:
           skip: true
           skip-branch-source-notifications: true
         property-strategies:
           all-branches:
           - pipeline-branch-durability-override: performance-optimized
+          - suppress-scm-triggering:
+              suppression-strategy: suppress-nothing
+              branch-regex: '^$'
+        shallow-clone: true
+        do-not-fetch-tags: true
         submodule:
-          disable: false
-          recursive: true
-          tracking: false
-          parent-credentials: true
+          disable: true
         ssh-checkout:
           credentials: mbedtls-github-ssh
diff --git a/mbed-tls-restricted-pr-ci-testing.yaml b/mbed-tls-restricted-pr-ci-testing.yaml
index 635e23b..1203b5e 100644
--- a/mbed-tls-restricted-pr-ci-testing.yaml
+++ b/mbed-tls-restricted-pr-ci-testing.yaml
@@ -38,17 +38,19 @@
         repo: mbedtls-restricted
         branch-discovery: all
         discover-pr-origin: both
-        head-filter-regex: 'dev/dgreen-arm/ci-testing-development|PR-(758|759|806|850|906|916|919|1225|1227|1233)-.*'
+        head-filter-regex: 'dev/dgreen-arm/ci-testing-development|PR-(758|759|806|850|906|916|919|1225|1227|1233|1357|1358)-.*'
         status-checks:
           skip: true
           skip-branch-source-notifications: true
         property-strategies:
           all-branches:
           - pipeline-branch-durability-override: performance-optimized
+          - suppress-scm-triggering:
+              suppression-strategy: suppress-nothing
+              branch-regex: '^$'
+        shallow-clone: true
+        do-not-fetch-tags: true
         submodule:
-          disable: false
-          recursive: true
-          tracking: false
-          parent-credentials: true
+          disable: true
         ssh-checkout:
           credentials: mbedtls-github-ssh
diff --git a/mbed-tls-restricted-pr.yaml b/mbed-tls-restricted-pr.yaml
index 66e7d8f..5e8844a 100644
--- a/mbed-tls-restricted-pr.yaml
+++ b/mbed-tls-restricted-pr.yaml
@@ -43,7 +43,7 @@
         discover-pr-forks-strategy: both
         discover-pr-forks-trust: nobody
         discover-pr-origin: both
-        head-filter-regex: '(?!^PR-(758|759|806|850|906|916|919)-(merge|head)$)(PR-\d+-(merge|head))'
+        head-filter-regex: '(?!^PR-(758|759|806|850|906|916|919|1225|1227|1233|1357|1358)-(merge|head)$)(PR-\d+-(merge|head))'
         status-checks:
           skip: true
           skip-branch-source-notifications: true
diff --git a/mbed-tls-tf-psa-crypto-restricted-ci-testing.yaml b/mbed-tls-tf-psa-crypto-restricted-ci-testing.yaml
index 1f5285f..875996b 100644
--- a/mbed-tls-tf-psa-crypto-restricted-ci-testing.yaml
+++ b/mbed-tls-tf-psa-crypto-restricted-ci-testing.yaml
@@ -44,17 +44,19 @@
         discover-pr-forks-strategy: both
         discover-pr-forks-trust: nobody
         discover-pr-origin: both
-        head-filter-regex: 'PR-3-(head|merge)'
+        head-filter-regex: 'PR-(7|12|13|14)-(head|merge)'
         status-checks:
           skip: true
           skip-branch-source-notifications: true
         property-strategies:
           all-branches:
           - pipeline-branch-durability-override: performance-optimized
+          - suppress-scm-triggering:
+              suppression-strategy: suppress-nothing
+              branch-regex: '^$'
+        shallow-clone: true
+        do-not-fetch-tags: true
         submodule:
-          disable: false
-          recursive: true
-          tracking: false
-          parent-credentials: true
+          disable: true
         ssh-checkout:
           credentials: mbedtls-github-ssh
diff --git a/mbed-tls-tf-psa-crypto-restricted-multibranch.yaml b/mbed-tls-tf-psa-crypto-restricted-multibranch.yaml
index 965ea1b..374efac 100644
--- a/mbed-tls-tf-psa-crypto-restricted-multibranch.yaml
+++ b/mbed-tls-tf-psa-crypto-restricted-multibranch.yaml
@@ -44,7 +44,7 @@
         discover-pr-forks-strategy: both
         discover-pr-forks-trust: nobody
         discover-pr-origin: both
-        head-filter-regex: '(?!^PR-3-(head|merge)$)PR-\d+-(head|merge)|gh-readonly-queue/.*'
+        head-filter-regex: '(?!^PR-(7|12|13|14)-(head|merge)$)PR-\d+-(head|merge)|gh-readonly-queue/.*'
         status-checks:
           skip: true
           skip-branch-source-notifications: true