From f6760bfa6e3e796af1d03c4cd9d136a9e43dfca0 Mon Sep 17 00:00:00 2001 From: Deepali Chourasia Date: Mon, 5 Feb 2024 06:16:59 -0600 Subject: [PATCH 1/2] update workflows for release branches --- .github/workflows/builder-unit-test.yml | 8 ++++++-- .github/workflows/conda-recipe-test.yml | 4 +++- .github/workflows/xgboost-build.yml | 8 ++++++-- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/builder-unit-test.yml b/.github/workflows/builder-unit-test.yml index 2f2dfa9d..afc0e466 100644 --- a/.github/workflows/builder-unit-test.yml +++ b/.github/workflows/builder-unit-test.yml @@ -2,9 +2,13 @@ name: Open-CE Builder Unit Tests on: push: - branches: [main] + branches: + - 'main' # matches the main branch + - 'r*' # matches every release branch pull_request: - branches: [main] + branches: + - 'main' # matches the main branch + - 'r*' # matches every release branch jobs: build: diff --git a/.github/workflows/conda-recipe-test.yml b/.github/workflows/conda-recipe-test.yml index b310bef4..267c1785 100644 --- a/.github/workflows/conda-recipe-test.yml +++ b/.github/workflows/conda-recipe-test.yml @@ -2,7 +2,9 @@ name: Open-CE PR Tests for Conda recipe on: pull_request: - branches: [main] + branches: + - 'main' # matches the main branch + - 'r*' # matches every release branch jobs: required_tests: diff --git a/.github/workflows/xgboost-build.yml b/.github/workflows/xgboost-build.yml index 74e785fa..cb854018 100644 --- a/.github/workflows/xgboost-build.yml +++ b/.github/workflows/xgboost-build.yml @@ -2,9 +2,13 @@ name: Open-CE XGBoost Build on: push: - branches: [main] + branches: + - 'main' # matches the main branch + - 'r*' # matches every release branch pull_request: - branches: [main] + branches: + - 'main' # matches the main branch + - 'r*' # matches every release branch jobs: build: From 9822dc3499c8bf7362570c92a763a3450c6dc1bd Mon Sep 17 00:00:00 2001 From: Deepali Chourasia Date: Mon, 5 Feb 2024 06:31:23 -0600 Subject: [PATCH 2/2] update xgboot-build --- .github/workflows/xgboost-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xgboost-build.yml b/.github/workflows/xgboost-build.yml index cb854018..181db5fa 100644 --- a/.github/workflows/xgboost-build.yml +++ b/.github/workflows/xgboost-build.yml @@ -33,7 +33,7 @@ jobs: shell: bash -l {0} # yamllint disable rule:line-length run: | - open-ce build env xgboost-env \ + open-ce build env https://raw.githubusercontent.com/open-ce/open-ce/open-ce-r1.9/envs/xgboost-env.yaml \ --container_build \ --python_versions ${{ matrix.python-version }} \ --build_types cpu