From db3f27e7a5e4af909c919b55efddbc4f4d21bc5b Mon Sep 17 00:00:00 2001 From: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> Date: Sat, 10 Aug 2024 12:57:49 +0100 Subject: [PATCH] Limit pipeline to branches Signed-off-by: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> --- .github/workflows/pint.yml | 14 +++++++++++++- .github/workflows/run-tests.yml | 14 +++++++++++++- .github/workflows/static-analysis.yml | 14 +++++++++++++- 3 files changed, 39 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pint.yml b/.github/workflows/pint.yml index 3f535ed..5aad498 100644 --- a/.github/workflows/pint.yml +++ b/.github/workflows/pint.yml @@ -1,6 +1,18 @@ name: PHP Linting (Pint) -on: [ push, pull_request, workflow_dispatch ] +on: + push: + branches: + - master + - v4 + - release/* + - hotfix/* + pull_request: + - master + - v4 + - release/* + - hotfix/* + workflow_dispatch: jobs: phplint: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index add7fd8..334e7db 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,6 +1,18 @@ name: Pest Tests -on: [ push, pull_request, workflow_dispatch ] +on: + push: + branches: + - master + - v4 + - release/* + - hotfix/* + pull_request: + - master + - v4 + - release/* + - hotfix/* + workflow_dispatch: jobs: test: diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index ffec679..fd29552 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -1,6 +1,18 @@ name: "Static Analysis" -on: [ push, pull_request, workflow_dispatch ] +on: + push: + branches: + - master + - v4 + - release/* + - hotfix/* + pull_request: + - master + - v4 + - release/* + - hotfix/* + workflow_dispatch: jobs: types: