From 22e0de6ccd3db8859e27f49ff6493e048a782cf3 Mon Sep 17 00:00:00 2001 From: Karoly Gossler Date: Tue, 27 Feb 2024 16:29:13 +0100 Subject: [PATCH] Add workflow config --- .github/workflows/static-analysis.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/static-analysis.yml diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml new file mode 100644 index 00000000..7a8e6573 --- /dev/null +++ b/.github/workflows/static-analysis.yml @@ -0,0 +1,25 @@ +name: "Static Analysis" + +on: + pull_request: + branches: + - "master" + paths: + - .github/workflows/static-analysis.yml + - composer.* + - src/** + - phpstan* + - psalm* + push: + branches: + - "master" + paths: + - .github/workflows/static-analysis.yml + - composer.* + - src/** + - phpstan* + - psalm* + +jobs: + static-analysis: + uses: "doctrine/.github/.github/workflows/static-analysis.yml@4.0.0"