Skip to content

Commit 2eb7717

Browse files
authored
bk: avoid running LLVM on a schedule event (#635)
1 parent 5d954b0 commit 2eb7717

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.buildkite/pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ steps:
8282
- BUILDKITE_PULL_REQUEST_BASE_BRANCH=${BUILDKITE_PULL_REQUEST_BASE_BRANCH}
8383
- GITHUB_PR_LABELS=${GITHUB_PR_LABELS}
8484

85-
# Trigger for the main branch only
85+
# Trigger for the main branch only if no a scheduled build
8686
- label: ":pipeline: Upload llvm-apple Pipeline"
87-
if: build.branch == 'main'
87+
if: build.branch == 'main' && build.source != "schedule"
8888
command: "buildkite-agent pipeline upload .buildkite/llvm-apple-pipeline.yml"
8989
env:
9090
- BUILDKITE_PULL_REQUEST=${BUILDKITE_PULL_REQUEST}

0 commit comments

Comments
 (0)