From 6c7708942dad5e4e6007b4ab64ff0d8c6d6c4519 Mon Sep 17 00:00:00 2001 From: Adam Kaplan Date: Fri, 15 Mar 2024 14:57:57 -0400 Subject: [PATCH] SHIP-0038: Run CI on Release Branches Update our CI-oriented GitHub actions to run when commits merge in a `release-v*` branch, or a pull request is opened against a `release-v*` branch. With this change, future release branches will automatically have CI checks enabled. This commit should be backported to enable CI in a prior release branch. This implements a portion of SHIP-0038. Signed-off-by: Adam Kaplan --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4934e54c..eebab8455 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,13 @@ name: ci/github on: pull_request: - branches: [ main ] + branches: + - main + - "release-v*" # release branches push: - branches: [ main ] + branches: + - main + - "release-v*" # release branches permissions: contents: read