Skip to content

Commit

Permalink
Merge pull request #48483 from nextcloud/ci/noid/execute-psalm-securi…
Browse files Browse the repository at this point in the history
…ty-on-push

ci: Execute psalm:security on pushes
  • Loading branch information
nickvergessen authored Oct 1, 2024
2 parents f0f4a31 + 6c9b2af commit f78f7d9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/static-code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f78f7d9

Please sign in to comment.