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 }}