Signed-off-by: Joas Schilling <coding@schilljs.com>
on:
pull_request:
+ push:
+ branches:
+ - main
+ - master
+ - stable*
+ paths:
+ - '.github'
+ - '**.php'
concurrency:
group: static-code-analysis-${{ github.head_ref || github.run_id }}
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
static-code-analysis-security:
runs-on: ubuntu-latest
+ if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
+
steps:
- name: Checkout code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
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