Skip to content

Commit a6fa126

Browse files
authored
ci(gcb): triggers will work on all branches we care about (#6255)
1 parent 556fbb5 commit a6fa126

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+60
-60
lines changed

ci/cloudbuild/trigger.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ github:
5050
name: google-cloud-cpp
5151
owner: googleapis
5252
push:
53-
branch: ^master$
53+
branch: ^(master|main|v\\d+\\..*)$
5454
name: ${name}-ci
5555
substitutions:
5656
_BUILD_NAME: ${name}
@@ -68,7 +68,7 @@ github:
6868
name: google-cloud-cpp
6969
owner: googleapis
7070
pullRequest:
71-
branch: ^master$
71+
branch: ^(master|main|v\\d+\\..*)$
7272
commentControl: COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY
7373
name: ${name}-pr
7474
substitutions:

ci/cloudbuild/triggers/asan-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ github:
33
name: google-cloud-cpp
44
owner: googleapis
55
push:
6-
branch: ^master$
6+
branch: ^(master|main|v\d+\..*)$
77
name: asan-ci
88
substitutions:
99
_BUILD_NAME: asan

ci/cloudbuild/triggers/asan-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ github:
33
name: google-cloud-cpp
44
owner: googleapis
55
pullRequest:
6-
branch: ^master$
6+
branch: ^(master|main|v\d+\..*)$
77
commentControl: COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY
88
name: asan-pr
99
substitutions:

ci/cloudbuild/triggers/bazel-clang-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ github:
33
name: google-cloud-cpp
44
owner: googleapis
55
push:
6-
branch: ^master$
6+
branch: ^(master|main|v\d+\..*)$
77
name: bazel-clang-ci
88
substitutions:
99
_BUILD_NAME: bazel-clang

ci/cloudbuild/triggers/bazel-clang-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ github:
33
name: google-cloud-cpp
44
owner: googleapis
55
pullRequest:
6-
branch: ^master$
6+
branch: ^(master|main|v\d+\..*)$
77
commentControl: COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY
88
name: bazel-clang-pr
99
substitutions:

ci/cloudbuild/triggers/bazel-gcc-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ github:
33
name: google-cloud-cpp
44
owner: googleapis
55
push:
6-
branch: ^master$
6+
branch: ^(master|main|v\d+\..*)$
77
name: bazel-gcc-ci
88
substitutions:
99
_BUILD_NAME: bazel-gcc

ci/cloudbuild/triggers/bazel-gcc-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ github:
33
name: google-cloud-cpp
44
owner: googleapis
55
pullRequest:
6-
branch: ^master$
6+
branch: ^(master|main|v\d+\..*)$
77
commentControl: COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY
88
name: bazel-gcc-pr
99
substitutions:

ci/cloudbuild/triggers/checkers-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ github:
33
name: google-cloud-cpp
44
owner: googleapis
55
push:
6-
branch: ^master$
6+
branch: ^(master|main|v\d+\..*)$
77
name: checkers-ci
88
substitutions:
99
_BUILD_NAME: checkers

ci/cloudbuild/triggers/checkers-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ github:
33
name: google-cloud-cpp
44
owner: googleapis
55
pullRequest:
6-
branch: ^master$
6+
branch: ^(master|main|v\d+\..*)$
77
commentControl: COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY
88
name: checkers-pr
99
substitutions:

ci/cloudbuild/triggers/clang-38-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ github:
33
name: google-cloud-cpp
44
owner: googleapis
55
push:
6-
branch: ^master$
6+
branch: ^(master|main|v\d+\..*)$
77
name: clang-38-ci
88
substitutions:
99
_BUILD_NAME: clang-38

0 commit comments

Comments
 (0)