Skip to content

Commit 4a93fde

Browse files
authored
ci: enable macos bazel gha build (#16144)
1 parent 0f12797 commit 4a93fde

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/test-runner.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,15 @@ jobs:
6363
# the additional jobs inherit any secrets needed to use the remote caches and
6464
# receive what version to checkout as an input.
6565
macos-bazel:
66-
# Disabled
67-
if: false
66+
# Build the full matrix only on push events to the default branch, or
67+
# when PR gets the has a `gha:full-build` label, or when it had the
68+
# label already and it gets a new commit.
69+
if: |-
70+
${{
71+
github.event_name == 'schedule' ||
72+
github.event_name == 'push' ||
73+
contains(github.event.pull_request.labels.*.name, 'gha:full-build')
74+
}}
6875
name: macOS-Bazel
6976
needs: [pre-flight]
7077
uses: ./.github/workflows/macos-bazel.yml

0 commit comments

Comments
 (0)