From 4cd930fd622fe8268fd5aa3cb42ba00ddf07a1fa 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 629bd5a7e9..92d4260a14 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 5f4bed4e9f..51fd10f13d 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: jobs: 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 480f10527a..81d99b3cdd 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: jobs: