diff --git a/.github/workflows/build_and_test_workflow.yml b/.github/workflows/build_and_test_workflow.yml index 16c2d3f4011b..7e69169e6d61 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/**'