Skip to content

Commit 271f58a

Browse files
committed
Don't run benchmarks from fork
1 parent 1955985 commit 271f58a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.buildkite/pipeline.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ steps:
154154
os: "macos"
155155
arch: "aarch64"
156156
if: |
157-
build.message =~ /\[only benchmarks\]/ ||
157+
build.pull_request.repository.fork &&
158+
(build.message =~ /\[only benchmarks\]/ ||
158159
build.message !~ /\[only/ && !build.pull_request.draft &&
159-
build.message !~ /\[skip benchmarks\]/
160+
build.message !~ /\[skip benchmarks\]/)
160161
timeout_in_minutes: 30

0 commit comments

Comments
 (0)