From 4cb4d5be51569b6186f4924adba18e000db00777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gamez?= Date: Sat, 25 Nov 2023 09:41:47 +0100 Subject: [PATCH] Update workflow triggers --- .github/workflows/docs.yml | 11 ++++++++--- .github/workflows/emulator-tests.yml | 15 ++++++++++++--- .github/workflows/integration-tests.yml | 15 ++++++++++++--- .github/workflows/tests.yml | 15 ++++++++++++--- 4 files changed, 44 insertions(+), 12 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7fa4ba60..91f39c00 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,10 +1,15 @@ name: Docs on: - push: - tags-ignore: - - '**' pull_request: + paths: + - 'docs/**' + - '.github/workflows/docs.yml' + push: + branches: ['7.x'] + paths: + - 'docs/**' + - '.github/workflows/docs.yml' workflow_dispatch: jobs: diff --git a/.github/workflows/emulator-tests.yml b/.github/workflows/emulator-tests.yml index efa73ac4..ef033d7b 100644 --- a/.github/workflows/emulator-tests.yml +++ b/.github/workflows/emulator-tests.yml @@ -1,10 +1,19 @@ name: Emulator Tests on: - push: - tags-ignore: - - '**' pull_request: + paths: + - 'src/**' + - 'tests/**' + - '.github/workflows/emulator-tests.yml' + - 'composer.json' + push: + branches: ['7.x'] + paths: + - 'src/**' + - 'tests/**' + - '.github/workflows/emulator-tests.yml' + - 'composer.json' workflow_dispatch: jobs: diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 41408a0c..4922b9d3 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -1,10 +1,19 @@ name: Integration Tests on: - push: - tags-ignore: - - '**' pull_request: + paths: + - 'src/**' + - 'tests/**' + - '.github/workflows/integration-tests.yml' + - 'composer.json' + push: + branches: ['7.x'] + paths: + - 'src/**' + - 'tests/**' + - '.github/workflows/integration-tests.yml' + - 'composer.json' workflow_dispatch: jobs: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6f14bf76..8a9050ae 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,10 +1,19 @@ name: Tests on: - push: - tags-ignore: - - '**' pull_request: + paths: + - 'src/**' + - 'tests/**' + - '.github/workflows/tests.yml' + - 'composer.json' + push: + branches: ['7.x'] + paths: + - 'src/**' + - 'tests/**' + - '.github/workflows/tests.yml' + - 'composer.json' workflow_dispatch: jobs: