From 4b240ca67224a6f22d3849675e3f6f7e1d027389 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Wed, 14 Feb 2024 14:42:48 +0100 Subject: [PATCH] [CI] Run on all MRs and on release branch (#173) I know that we are not supposed to have "release" branches, but de-facto we have them for quick patch releases. Signed-off-by: Oliver Tale-Yazdi Co-authored-by: fellowship-merge-bot[bot] <151052383+fellowship-merge-bot[bot]@users.noreply.github.com> --- .github/workflows/check-migrations.yml | 3 +-- .github/workflows/clippy.yml | 3 +-- .github/workflows/fmt.yml | 3 +-- .github/workflows/test.yml | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check-migrations.yml b/.github/workflows/check-migrations.yml index 512ab7e5af..2e42582940 100644 --- a/.github/workflows/check-migrations.yml +++ b/.github/workflows/check-migrations.yml @@ -2,9 +2,8 @@ name: Check Migrations on: push: - branches: ["main"] + branches: ["main", "release-*"] pull_request: - branches: ["main"] workflow_dispatch: # Cancel a currently running workflow from the same PR, branch or tag when a new workflow is diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index dca36a130d..741ae21f1d 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -2,9 +2,8 @@ name: "Clippy" on: push: - branches: ["main"] + branches: ["main", "release-*"] pull_request: - branches: ["main"] workflow_dispatch: # cancel previous runs diff --git a/.github/workflows/fmt.yml b/.github/workflows/fmt.yml index 14fdcd0197..ac4c37aead 100644 --- a/.github/workflows/fmt.yml +++ b/.github/workflows/fmt.yml @@ -2,9 +2,8 @@ name: "Rustfmt (check)" on: push: - branches: [ "main" ] + branches: ["main", "release-*"] pull_request: - branches: [ "main" ] workflow_dispatch: jobs: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 32259e51c8..ee2c04ef4f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,9 +2,8 @@ name: "Test all features" on: push: - branches: ["main"] + branches: ["main", "release-*"] pull_request: - branches: ["main"] workflow_dispatch: # cancel previous runs