From 2de397bad713ab1e3ab4288f1d0fddebb7cf79e9 Mon Sep 17 00:00:00 2001 From: Jonas Staudenmeir Date: Sat, 28 Sep 2024 15:40:21 +0200 Subject: [PATCH] Improve workflows --- .github/workflows/ci.yml | 6 +++++- .github/workflows/static-analysis.yml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d55b21..cd4b10b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,10 @@ name: CI -on: [ push, pull_request ] +on: + push: + branches: + - main + pull_request: jobs: tests: diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 56f2939..f7110d1 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -1,6 +1,10 @@ name: Static Analysis -on: [ push, pull_request ] +on: + push: + branches: + - main + pull_request: jobs: phpstan: