aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2024-10-01 12:24:34 +0200
committerGitHub <noreply@github.com>2024-10-01 12:24:34 +0200
commitf78f7d9735223e1f9029fef7dee775947eb68fc9 (patch)
treef3a42b89a71c1c19bdd940368b72759dbe21c938
parentf0f4a31e7cf05f22929855585ab6bb702be75ede (diff)
parent6c9b2afcabb9e8072722d5f3032ea150dd5ae9c0 (diff)
downloadnextcloud-server-f78f7d9735223e1f9029fef7dee775947eb68fc9.tar.gz
nextcloud-server-f78f7d9735223e1f9029fef7dee775947eb68fc9.zip
Merge pull request #48483 from nextcloud/ci/noid/execute-psalm-security-on-push
ci: Execute psalm:security on pushes
-rw-r--r--.github/workflows/static-code-analysis.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml
index 2e22ff533c8..e6969a20e18 100644
--- a/.github/workflows/static-code-analysis.yml
+++ b/.github/workflows/static-code-analysis.yml
@@ -4,6 +4,14 @@ name: Psalm static code analysis
on:
pull_request:
+ push:
+ branches:
+ - main
+ - master
+ - stable*
+ paths:
+ - '.github'
+ - '**.php'
concurrency:
group: static-code-analysis-${{ github.head_ref || github.run_id }}
@@ -13,7 +21,7 @@ jobs:
static-code-analysis:
runs-on: ubuntu-latest
- if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
+ if: ${{ github.event_name != 'push' && github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
@@ -43,6 +51,8 @@ jobs:
static-code-analysis-security:
runs-on: ubuntu-latest
+ if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
+
steps:
- name: Checkout code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
@@ -75,6 +85,8 @@ jobs:
static-code-analysis-ocp:
runs-on: ubuntu-latest
+ if: ${{ github.event_name != 'push' && github.repository_owner != 'nextcloud-gmbh' }}
+
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938