From b33453f03c20c689d53ee1ed1759a6411d570cac Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 29 Feb 2024 22:28:58 +0100 Subject: [PATCH] git: Run workflows on release branches --- .github/workflows/build.yml | 4 +++- .github/workflows/build_web.yml | 4 +++- .github/workflows/tests.yml | 8 ++++++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ffdd356fa..062e6390a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,9 @@ name: Build on: push: - branches: ["*"] + branches: + - 'master' + - 'releases/**' pull_request: workflow_dispatch: diff --git a/.github/workflows/build_web.yml b/.github/workflows/build_web.yml index 38940463d..f88b0360f 100644 --- a/.github/workflows/build_web.yml +++ b/.github/workflows/build_web.yml @@ -2,7 +2,9 @@ name: Build for the web on: push: - branches: ["*"] + branches: + - 'master' + - 'releases/**' pull_request: workflow_dispatch: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9333456c7..508603902 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,9 +2,13 @@ name: "Unit Tests" on: push: - branches: [ master ] + branches: + - 'master' + - 'releases/**' pull_request: - branches: [ master ] + branches: + - 'master' + - 'releases/**' workflow_dispatch: jobs: