From bdd2b376fb05bbc871c1352ff2ce5bc46369581f Mon Sep 17 00:00:00 2001 From: roxblnfk Date: Thu, 24 Oct 2024 21:30:17 +0400 Subject: [PATCH] optimize psalm workflow running --- .github/workflows/static-analysis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 7a498fb..55b65f2 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -1,13 +1,15 @@ --- -on: # yamllint disable-line rule:truthy - pull_request: +on: + push: + branches: + - '4.*' paths: - 'src/**' - '.php-cs-fixer.dist.php' - 'psalm*' - 'composer.*' - push: + pull_request: paths: - 'src/**' - '.php-cs-fixer.dist.php'