diff --git a/.github/workflows/ftp.yml b/.github/workflows/ftp.yml index be2d2ba0254..d15878af51c 100644 --- a/.github/workflows/ftp.yml +++ b/.github/workflows/ftp.yml @@ -17,6 +17,8 @@ jobs: ftp-tests: runs-on: ubuntu-latest + if: ${{ github.repository_owner != 'nextcloud-gmbh' }} + strategy: # do not stop on another job's failure fail-fast: false diff --git a/.github/workflows/node-tests.yml b/.github/workflows/node-tests.yml index 6be1006a937..2dffdbf5b76 100644 --- a/.github/workflows/node-tests.yml +++ b/.github/workflows/node-tests.yml @@ -10,6 +10,9 @@ on: jobs: versions: runs-on: ubuntu-latest + + if: ${{ github.repository_owner != 'nextcloud-gmbh' }} + outputs: nodeVersion: ${{ steps.versions.outputs.nodeVersion }} npmVersion: ${{ steps.versions.outputs.npmVersion }} diff --git a/.github/workflows/oci.yml b/.github/workflows/oci.yml index 9c6e23b1409..e88acf9bbb5 100644 --- a/.github/workflows/oci.yml +++ b/.github/workflows/oci.yml @@ -11,6 +11,8 @@ jobs: phpunit-oci: runs-on: ubuntu-20.04 + if: ${{ github.repository_owner != 'nextcloud-gmbh' }} + strategy: fail-fast: false matrix: diff --git a/.github/workflows/s3-external.yml b/.github/workflows/s3-external.yml index 8931f35277c..0511f4b40ab 100644 --- a/.github/workflows/s3-external.yml +++ b/.github/workflows/s3-external.yml @@ -17,6 +17,8 @@ jobs: s3-external-tests-minio: runs-on: ubuntu-latest + if: ${{ github.repository_owner != 'nextcloud-gmbh' }} + strategy: # do not stop on another job's failure fail-fast: false @@ -66,6 +68,8 @@ jobs: s3-external-tests-localstack: runs-on: ubuntu-latest + if: ${{ github.repository_owner != 'nextcloud-gmbh' }} + strategy: # do not stop on another job's failure fail-fast: false diff --git a/.github/workflows/s3-primary.yml b/.github/workflows/s3-primary.yml index aad0f2a1b62..5c5b9d57cdb 100644 --- a/.github/workflows/s3-primary.yml +++ b/.github/workflows/s3-primary.yml @@ -10,6 +10,8 @@ jobs: s3-primary-tests-minio: runs-on: ubuntu-20.04 + if: ${{ github.repository_owner != 'nextcloud-gmbh' }} + strategy: # do not stop on another job's failure fail-fast: false diff --git a/.github/workflows/smb-kerberos.yml b/.github/workflows/smb-kerberos.yml index 2875a7f4fbd..ff94987a566 100644 --- a/.github/workflows/smb-kerberos.yml +++ b/.github/workflows/smb-kerberos.yml @@ -14,6 +14,8 @@ jobs: smb-kerberos-tests: runs-on: ubuntu-latest + if: ${{ github.repository_owner != 'nextcloud-gmbh' }} + strategy: fail-fast: false matrix: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 4aadd5690a9..691cdf41214 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -7,12 +7,13 @@ on: jobs: stale: - runs-on: ubuntu-latest - + + if: ${{ github.repository_owner != 'nextcloud-gmbh' }} + permissions: issues: write - + steps: - uses: actions/stale@v5 with: @@ -28,4 +29,3 @@ jobs: days-before-stale: 30 days-before-close: 14 debug-only: true - diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index 31ee0f89fa2..a2d18b76383 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -5,6 +5,9 @@ on: [pull_request] jobs: static-code-analysis: runs-on: ubuntu-latest + + if: ${{ github.repository_owner != 'nextcloud-gmbh' }} + steps: - uses: actions/checkout@v2 - name: Checkout submodules @@ -31,6 +34,9 @@ jobs: static-code-analysis-ocp: runs-on: ubuntu-latest + + if: ${{ github.repository_owner != 'nextcloud-gmbh' }} + steps: - uses: actions/checkout@v2 - name: Checkout submodules diff --git a/.github/workflows/update-psalm-baseline.yml b/.github/workflows/update-psalm-baseline.yml index 9fdaeffe22c..82920b7775d 100644 --- a/.github/workflows/update-psalm-baseline.yml +++ b/.github/workflows/update-psalm-baseline.yml @@ -9,6 +9,8 @@ jobs: update-psalm-baseline: runs-on: ubuntu-latest + if: ${{ github.repository_owner != 'nextcloud-gmbh' }} + steps: - uses: actions/checkout@v2 with: