From 7132277d4795d8c701b27dd2507d68432f411b76 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Wed, 13 Nov 2024 18:03:54 +0100 Subject: [PATCH] ci: Start jobs only when changes are made in v2 branch --- .github/workflows/openvidu-ce-test.yml | 4 ++-- .github/workflows/openvidu-components-angular-E2E.yml | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/openvidu-ce-test.yml b/.github/workflows/openvidu-ce-test.yml index 6e92b6026d..591e06dd60 100644 --- a/.github/workflows/openvidu-ce-test.yml +++ b/.github/workflows/openvidu-ce-test.yml @@ -2,7 +2,7 @@ name: OpenVidu CE Tests on: push: branches: - - master + - v2 paths-ignore: - ".github/workflows/openvidu-components-angular-E2E.yml" - "openvidu-components-angular/**" @@ -10,7 +10,7 @@ on: - "openvidu-server/deployments/**" pull_request: branches: - - master + - v2 workflow_dispatch: inputs: TEST_IMAGE: diff --git a/.github/workflows/openvidu-components-angular-E2E.yml b/.github/workflows/openvidu-components-angular-E2E.yml index f94f93628d..d301ea0e30 100644 --- a/.github/workflows/openvidu-components-angular-E2E.yml +++ b/.github/workflows/openvidu-components-angular-E2E.yml @@ -1,6 +1,8 @@ name: openvidu-components-angular E2E on: push: + branches: + - v2 paths: - 'openvidu-components-angular/**' - 'openvidu-browser/**' @@ -8,7 +10,7 @@ on: - '.github/workflows/openvidu-components-angular-E2E.yml' pull_request: branches: - - master + - v2 workflow_dispatch: inputs: commit_sha: