From b34e449adfbf96f90ac45c2a4d367a0b1de9693e Mon Sep 17 00:00:00 2001 From: James Wilson Date: Tue, 3 Jun 2025 12:17:02 +0100 Subject: [PATCH] Run CI on v0.N.x branches or PRs to them for ease of backporting --- .github/workflows/rust.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 355f6e26b9..e1889faf5c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -6,11 +6,16 @@ on: # master or release-like branches: branches: - master + # If we want to backport changes to an old release, push a branch + # eg v0.40.x and CI will run on it. PRs merging to such branches + # will also trigger CI. + - v0.*.x pull_request: # Run jobs for any external PR that wants # to merge to master, too: branches: - master + - v0.*.x concurrency: group: ${{ github.ref }}-${{ github.workflow }}