From 6b24ee9ef531d7b2c5595370ce2d7c17ccac6337 Mon Sep 17 00:00:00 2001 From: Benjamin Jasper Date: Wed, 13 Sep 2023 12:34:06 +0200 Subject: [PATCH] chore: fix for github actions running twice --- .github/workflows/static-analysis.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static-analysis.yaml b/.github/workflows/static-analysis.yaml index 0975060..79c8e89 100644 --- a/.github/workflows/static-analysis.yaml +++ b/.github/workflows/static-analysis.yaml @@ -1,6 +1,10 @@ name: Static analysis -on: [ push, pull_request ] +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] jobs: phpstan: