[CI] Don't require manual approval for master branch (#8235)

This commit is contained in:
Philip Hyunsu Cho 2022-09-08 10:26:22 -07:00 committed by GitHub
parent e888eb2fa9
commit 23faf656ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
steps: steps:
- block: ":rocket: Run this test job" - block: ":rocket: Run this test job"
if: build.pull_request.repository.fork == true
#### -------- 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

@ -3,6 +3,7 @@ env:
DOCKER_CACHE_ECR_REGION: "us-west-2" DOCKER_CACHE_ECR_REGION: "us-west-2"
steps: steps:
- block: ":rocket: Run this test job" - block: ":rocket: Run this test job"
if: build.pull_request.repository.fork == true
#### -------- BUILD -------- #### -------- BUILD --------
- label: ":console: Run clang-tidy" - label: ":console: Run clang-tidy"
command: "tests/buildkite/run-clang-tidy.sh" command: "tests/buildkite/run-clang-tidy.sh"