From 82b7d31c783a93cc96cf7fea24098b866182762f Mon Sep 17 00:00:00 2001 From: James Lamb Date: Sat, 8 Oct 2022 12:57:14 -0500 Subject: [PATCH] [ci] run CI on pull requests targeting release/ branches (#5527) --- .github/workflows/cuda.yml | 1 + .github/workflows/optional_checks.yml | 1 + .github/workflows/python_package.yml | 1 + .github/workflows/r_package.yml | 1 + .github/workflows/static_analysis.yml | 1 + .vsts-ci.yml | 1 + 6 files changed, 6 insertions(+) diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index 54a7aa1e45eb..a8d69ddcaa33 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -7,6 +7,7 @@ on: pull_request: branches: - master + - release/* env: github_actions: 'true' diff --git a/.github/workflows/optional_checks.yml b/.github/workflows/optional_checks.yml index 81a927d2607a..857eca679b97 100644 --- a/.github/workflows/optional_checks.yml +++ b/.github/workflows/optional_checks.yml @@ -4,6 +4,7 @@ on: pull_request: branches: - master + - release/* jobs: all-successful: diff --git a/.github/workflows/python_package.yml b/.github/workflows/python_package.yml index 835578e87d1e..c3333c2e6242 100644 --- a/.github/workflows/python_package.yml +++ b/.github/workflows/python_package.yml @@ -7,6 +7,7 @@ on: pull_request: branches: - master + - release/* env: CONDA_ENV: test-env diff --git a/.github/workflows/r_package.yml b/.github/workflows/r_package.yml index daf51b10abf8..346a26315797 100644 --- a/.github/workflows/r_package.yml +++ b/.github/workflows/r_package.yml @@ -7,6 +7,7 @@ on: pull_request: branches: - master + - release/* env: # hack to get around this: diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index 16a0784385dc..9d83a9eefb56 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -9,6 +9,7 @@ on: pull_request: branches: - master + - release/* env: COMPILER: 'gcc' diff --git a/.vsts-ci.yml b/.vsts-ci.yml index 139f72061236..0c6c9fc7af1d 100644 --- a/.vsts-ci.yml +++ b/.vsts-ci.yml @@ -7,6 +7,7 @@ trigger: - v* pr: - master +- release/* variables: AZURE: 'true' PYTHON_VERSION: '3.10'