From 42dc993ddc23596965250334540c7e44e1fc7288 Mon Sep 17 00:00:00 2001 From: Amaury Chamayou Date: Mon, 22 Jan 2024 13:24:23 +0000 Subject: [PATCH] Do not run CI on older branches (#5947) --- .azure-pipelines.yml | 4 +++- .azure_pipelines_snp.yml | 4 +++- .daily.yml | 4 +++- .multi-thread.yml | 4 ++++ .stress.yml | 4 ++++ 5 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 9ce171f4f8..aa728b0dfd 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -11,6 +11,8 @@ pr: include: - main - "release/*" + exclude: + - "release/[0-3].x" paths: include: - "*" @@ -23,7 +25,7 @@ schedules: - main - "release/*" exclude: - - "release/[0-2].x" + - "release/[0-3].x" always: true resources: diff --git a/.azure_pipelines_snp.yml b/.azure_pipelines_snp.yml index 5f1fb023f0..783f311b87 100644 --- a/.azure_pipelines_snp.yml +++ b/.azure_pipelines_snp.yml @@ -2,6 +2,8 @@ pr: branches: include: - main + exclude: + - "release/[0-3].x" paths: include: - scripts/azure_deployment/* @@ -17,7 +19,7 @@ trigger: - main - "release/*" exclude: - - "release/[1-2].x" + - "release/[0-3].x" schedules: - cron: "0 9-18/3 * * Mon-Fri" diff --git a/.daily.yml b/.daily.yml index 215846a2d3..97b9699a67 100644 --- a/.daily.yml +++ b/.daily.yml @@ -3,6 +3,8 @@ pr: include: - main - "release/*" + exclude: + - "release/[0-3].x" paths: include: - .daily.yml @@ -19,7 +21,7 @@ schedules: - main - "release/*" exclude: - - "release/[1-2].x" + - "release/[0-3].x" always: true resources: diff --git a/.multi-thread.yml b/.multi-thread.yml index e1b9f7d305..a2564b6324 100644 --- a/.multi-thread.yml +++ b/.multi-thread.yml @@ -3,11 +3,15 @@ trigger: branches: include: - main + exclude: + - "release/[0-3].x" pr: branches: include: - main + exclude: + - "release/[0-3].x" paths: include: - .multi-thread.yml diff --git a/.stress.yml b/.stress.yml index c4b88c08e1..bd83635cb1 100644 --- a/.stress.yml +++ b/.stress.yml @@ -2,6 +2,8 @@ pr: branches: include: - main + exclude: + - "release/[0-3].x" paths: include: - .stress.yml @@ -15,6 +17,8 @@ schedules: branches: include: - main + exclude: + - "release/[0-3].x" always: true resources: