From 24c7d88c3728e0fd8451ae303ba424d3c51feeb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gamez?= Date: Fri, 1 Dec 2023 05:26:15 +0100 Subject: [PATCH] Update workflow triggers --- .github/workflows/tests.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c55611b..eda4134 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,8 +1,22 @@ name: Tests on: - push: pull_request: + paths: + - 'config/**' + - 'src/**' + - 'tests/**' + - '.github/workflows/tests.yml' + - 'composer.json' + push: + branches: ['main'] + paths: + - 'config/**' + - 'src/**' + - 'tests/**' + - '.github/workflows/tests.yml' + - 'composer.json' + workflow_dispatch: jobs: test: