From c0e37db51219b533ed48ccb86abade786b08690f Mon Sep 17 00:00:00 2001 From: maxiaosong1124 Date: Thu, 13 Aug 2026 18:29:42 +0800 Subject: [PATCH] fix(ci): run PR gates when base branch is test CI-Pipeline and GPU CI only triggered on main, so PRs targeting test never started the required checks. Keep docs/image publish workflows on main. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/gpu-ci.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 92cd0433..149958d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,9 +5,9 @@ name: CI-Pipeline on: push: - branches: [ main ] + branches: [ main, test ] pull_request: - branches: [ main ] + branches: [ main, test ] permissions: contents: read diff --git a/.github/workflows/gpu-ci.yml b/.github/workflows/gpu-ci.yml index 46caf703..277e4980 100644 --- a/.github/workflows/gpu-ci.yml +++ b/.github/workflows/gpu-ci.yml @@ -2,7 +2,7 @@ name: GPU CI on: pull_request_target: - branches: [ main ] + branches: [ main, test ] paths: - 'csrc/**' - 'rl_engine/**'