From d642367d8478228fc09841d104b4342ee98d8ea9 Mon Sep 17 00:00:00 2001 From: Ashwin P Chandran Date: Tue, 27 Feb 2024 02:31:22 +0000 Subject: [PATCH] skip workflow for non release branches on push Signed-off-by: Ashwin P Chandran --- .github/workflows/build_and_test_workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test_workflow.yml b/.github/workflows/build_and_test_workflow.yml index c954520a645d..36d75b5b5369 100644 --- a/.github/workflows/build_and_test_workflow.yml +++ b/.github/workflows/build_and_test_workflow.yml @@ -6,7 +6,7 @@ name: Build and test # trigger on every commit push and PR for all branches except pushes for backport branches on: push: - branches: ['**', '!backport/**'] + branches: ['main', '[0-9].x', '[0-9].[0=9]+'] # Run the functional test on push for only release branches paths-ignore: - '**/*.md' - 'docs/**'