summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-03-15 08:08:18 +0100
committerJoas Schilling <coding@schilljs.com>2023-03-15 08:08:18 +0100
commit766f38dc739136e629a707df8916812cb032965f (patch)
tree7f699a433c03724d882a3b9c4e632171516ee501 /.github
parent01d58b6f12458c2dcecf44693f676feff742b38c (diff)
downloadnextcloud-server-766f38dc739136e629a707df8916812cb032965f.tar.gz
nextcloud-server-766f38dc739136e629a707df8916812cb032965f.zip
Save some CI time
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cypress.yml2
-rw-r--r--.github/workflows/ftp.yml2
-rw-r--r--.github/workflows/node-tests.yml3
-rw-r--r--.github/workflows/oci.yml2
-rw-r--r--.github/workflows/performance.yml2
-rw-r--r--.github/workflows/phpunit-32bits.yml3
-rw-r--r--.github/workflows/s3-external.yml4
-rw-r--r--.github/workflows/s3-primary-integration.yml2
-rw-r--r--.github/workflows/s3-primary.yml2
-rw-r--r--.github/workflows/smb-kerberos.yml2
-rw-r--r--.github/workflows/stale.yml9
-rw-r--r--.github/workflows/static-code-analysis.yml2
-rw-r--r--.github/workflows/update-psalm-baseline.yml2
13 files changed, 33 insertions, 4 deletions
diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml
index 601482da994..ea1a741f574 100644
--- a/.github/workflows/cypress.yml
+++ b/.github/workflows/cypress.yml
@@ -16,6 +16,8 @@ jobs:
init:
runs-on: ubuntu-latest
+ if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
+
steps:
- name: Checkout server
uses: actions/checkout@v3
diff --git a/.github/workflows/ftp.yml b/.github/workflows/ftp.yml
index 643aef72c34..fa4c52ce67d 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 596e4494e43..265c53cf746 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 34d548c7f9f..6578697f4ef 100644
--- a/.github/workflows/oci.yml
+++ b/.github/workflows/oci.yml
@@ -13,6 +13,8 @@ jobs:
phpunit-oci:
runs-on: ubuntu-20.04
+ if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
+
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2']
diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml
index ffdc63fae6e..44ca8954078 100644
--- a/.github/workflows/performance.yml
+++ b/.github/workflows/performance.yml
@@ -6,6 +6,8 @@ jobs:
performance-testing:
runs-on: ubuntu-latest
+ if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
+
strategy:
fail-fast: false
matrix:
diff --git a/.github/workflows/phpunit-32bits.yml b/.github/workflows/phpunit-32bits.yml
index 1f91281bf16..3b03c00184b 100644
--- a/.github/workflows/phpunit-32bits.yml
+++ b/.github/workflows/phpunit-32bits.yml
@@ -15,6 +15,9 @@ concurrency:
jobs:
phpunit-32bits:
runs-on: ubuntu-latest
+
+ if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
+
container: shivammathur/node:latest-i386
strategy:
diff --git a/.github/workflows/s3-external.yml b/.github/workflows/s3-external.yml
index 784fb752a61..a987f8a3f67 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
@@ -68,6 +70,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-integration.yml b/.github/workflows/s3-primary-integration.yml
index 5785cc858b4..2a2ab43f5c6 100644
--- a/.github/workflows/s3-primary-integration.yml
+++ b/.github/workflows/s3-primary-integration.yml
@@ -10,6 +10,8 @@ jobs:
s3-primary-integration-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/s3-primary.yml b/.github/workflows/s3-primary.yml
index 78265af54f5..9b4269d737b 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 1cb8ae973ca..c069d665a6a 100644
--- a/.github/workflows/smb-kerberos.yml
+++ b/.github/workflows/smb-kerberos.yml
@@ -16,6 +16,8 @@ jobs:
smb-kerberos-tests:
runs-on: ubuntu-latest
+ if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
+
name: smb-kerberos-sso
steps:
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 13dc697664c..29e680b4698 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:
@@ -29,4 +30,4 @@ 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 451df6ab72a..4ae8babf843 100644
--- a/.github/workflows/static-code-analysis.yml
+++ b/.github/workflows/static-code-analysis.yml
@@ -11,6 +11,8 @@ jobs:
static-code-analysis:
runs-on: ubuntu-latest
+ if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
+
steps:
- name: Checkout
uses: actions/checkout@v3
diff --git a/.github/workflows/update-psalm-baseline.yml b/.github/workflows/update-psalm-baseline.yml
index 8b515d3eea7..1c0186f1ff7 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' }}
+
strategy:
fail-fast: false
matrix: