From 64aa877f43b60597b6f7a361ef8bedcd64d531d1 Mon Sep 17 00:00:00 2001 From: Khai Do Date: Thu, 8 Feb 2024 09:15:29 -0800 Subject: [PATCH] Fix integration test workflow We want to trigger integration tests on every branch except master branch. Got this from stackoverflow[1] [1] https://stackoverflow.com/a/57903434 --- .github/workflows/branch-integration-tests.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/branch-integration-tests.yaml b/.github/workflows/branch-integration-tests.yaml index ccd709d79..fb73e15e3 100644 --- a/.github/workflows/branch-integration-tests.yaml +++ b/.github/workflows/branch-integration-tests.yaml @@ -5,7 +5,10 @@ name: branch-integration-tests on: push: branches: - - '*' + - '*' # matches every branch that doesn't contain a '/' + - '*/*' # matches every branch containing a single '/' + - '**' # matches every branch + - '!master' # excludes master jobs: integration-tests: