[CI] Block CI from running for dependabot PRs (#9394)

This commit is contained in:
Philip Hyunsu Cho 2023-07-17 10:53:57 -07:00 committed by GitHub
parent f4fb2be101
commit 2a0ff209ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ steps:
queue: pipeline-loader queue: pipeline-loader
- wait - wait
- block: ":rocket: Run this test job" - block: ":rocket: Run this test job"
if: build.pull_request.id != null if: build.pull_request.id != null || build.branch =~ /^dependabot\//
#### -------- CONTAINER BUILD -------- #### -------- CONTAINER BUILD --------
- label: ":docker: Build containers" - label: ":docker: Build containers"
commands: commands:

View File

@ -6,7 +6,7 @@ steps:
queue: pipeline-loader queue: pipeline-loader
- wait - wait
- block: ":rocket: Run this test job" - block: ":rocket: Run this test job"
if: build.pull_request.id != null if: build.pull_request.id != null || build.branch =~ /^dependabot\//
#### -------- BUILD -------- #### -------- BUILD --------
- label: ":windows: Build XGBoost for Windows with CUDA" - label: ":windows: Build XGBoost for Windows with CUDA"
command: "tests/buildkite/build-win64-gpu.ps1" command: "tests/buildkite/build-win64-gpu.ps1"

View File

@ -9,7 +9,7 @@ steps:
queue: pipeline-loader queue: pipeline-loader
- wait - wait
- block: ":rocket: Run this test job" - block: ":rocket: Run this test job"
if: build.pull_request.id != null if: build.pull_request.id != null || build.branch =~ /^dependabot\//
#### -------- CONTAINER BUILD -------- #### -------- CONTAINER BUILD --------
- label: ":docker: Build containers" - label: ":docker: Build containers"
commands: commands: