From 924b57acbd952c42ed12681de55fb9c8c3899ba3 Mon Sep 17 00:00:00 2001 From: Adam Kaplan Date: Fri, 15 Mar 2024 14:49:34 -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 | 2 ++ .github/workflows/release-notes-linter.yaml | 1 + .github/workflows/verify.yaml | 2 ++ 3 files changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c5ca376d2..b3d418a954 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,12 +3,14 @@ on: pull_request: branches: - main + - "release-v*" # release branches push: paths-ignore: - 'README.md' - 'docs/**' branches: - main + - "release-v*" # release branches jobs: unit: diff --git a/.github/workflows/release-notes-linter.yaml b/.github/workflows/release-notes-linter.yaml index 3a67f8a288..9fc7f9d20c 100644 --- a/.github/workflows/release-notes-linter.yaml +++ b/.github/workflows/release-notes-linter.yaml @@ -5,6 +5,7 @@ on: pull_request: branches: - main + - "release-v*" # release branches jobs: release-note-linter: diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index b9c25dbd21..888977ace1 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -6,9 +6,11 @@ on: - '**' branches: - main + - "release-v*" # release branches pull_request: branches: - main + - "release-v*" # release branches permissions: contents: read