Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/dependabot.yml12
-rw-r--r--.github/stale.yml33
-rw-r--r--.github/workflows/command-rebase.yml2
-rw-r--r--.github/workflows/s3-external.yml2
-rw-r--r--.github/workflows/s3-primary.yml7
-rw-r--r--.github/workflows/stale.yml31
6 files changed, 46 insertions, 41 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index b235a696a6f..f9bcfafa675 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -62,7 +62,7 @@ updates:
day: saturday
time: "03:00"
timezone: Europe/Paris
- target-branch: stable21
+ target-branch: stable22
labels:
- "3. to review"
- "feature: dependencies"
@@ -80,7 +80,7 @@ updates:
day: saturday
time: "03:00"
timezone: Europe/Paris
- target-branch: stable22
+ target-branch: stable23
labels:
- "3. to review"
- "feature: dependencies"
@@ -98,7 +98,7 @@ updates:
day: saturday
time: "03:00"
timezone: Europe/Paris
- target-branch: stable23
+ target-branch: stable24
labels:
- "3. to review"
- "feature: dependencies"
@@ -117,7 +117,7 @@ updates:
day: saturday
time: "03:00"
timezone: Europe/Paris
- target-branch: stable21
+ target-branch: stable22
labels:
- "3. to review"
- "feature: dependencies"
@@ -135,7 +135,7 @@ updates:
day: saturday
time: "03:00"
timezone: Europe/Paris
- target-branch: stable22
+ target-branch: stable23
labels:
- "3. to review"
- "feature: dependencies"
@@ -153,7 +153,7 @@ updates:
day: saturday
time: "03:00"
timezone: Europe/Paris
- target-branch: stable23
+ target-branch: stable24
labels:
- "3. to review"
- "feature: dependencies"
diff --git a/.github/stale.yml b/.github/stale.yml
deleted file mode 100644
index b5d93c2d948..00000000000
--- a/.github/stale.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-# We wait 1 months to check
-daysUntilStale: 30
-
-# If no answer after two weeks, we close
-daysUntilClose: 14
-
-# Only issues that requires info from the op
-onlyLabels:
- - "needs info"
-
-# Only if issues that are not triaged
-exemptLabels:
- - "1. to develop"
- - "2. developing"
- - "3. to review"
- - "4. to release"
- - security
-
-# Label to use when marking as stale
-staleLabel: stale
-
-# Comment to post when marking as stale. Set to `false` to disable
-markComment: >
- This issue has been automatically marked as stale because it has not had
- recent activity and seems to be missing some essential information.
- It will be closed if no further activity occurs. Thank you
- for your contributions.
-
-# Limit the number of actions per hour, from 1-30. Default is 30
-limitPerRun: 30
-
-# Limit to only `issues` or `pulls`
-only: issues
diff --git a/.github/workflows/command-rebase.yml b/.github/workflows/command-rebase.yml
index c497cb38e2d..80037056f8d 100644
--- a/.github/workflows/command-rebase.yml
+++ b/.github/workflows/command-rebase.yml
@@ -26,7 +26,7 @@ jobs:
reaction-type: "+1"
- name: Checkout the latest code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
diff --git a/.github/workflows/s3-external.yml b/.github/workflows/s3-external.yml
index dedab6b0c16..8c2cdd7cfd1 100644
--- a/.github/workflows/s3-external.yml
+++ b/.github/workflows/s3-external.yml
@@ -55,7 +55,7 @@ jobs:
php -S localhost:8080 &
- name: PHPUnit
run: |
- echo "<?php return ['run' => true,'hostname' => 'localhost','key' => 'minio','secret' => 'minio123', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/${{ env.APP_NAME }}/tests/config.amazons3.php
+ echo "<?php return ['run' => true, 'secret' => 'actually-not-secret', 'passwordsalt' => 'actually-not-secret', 'hostname' => 'localhost','key' => 'minio','secret' => 'minio123', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/${{ env.APP_NAME }}/tests/config.amazons3.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/Amazons3Test.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/VersionedAmazonS3Test.php
- name: S3 logs
diff --git a/.github/workflows/s3-primary.yml b/.github/workflows/s3-primary.yml
index 3ea21b768ec..809e26a8e38 100644
--- a/.github/workflows/s3-primary.yml
+++ b/.github/workflows/s3-primary.yml
@@ -49,6 +49,13 @@ jobs:
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f index.php
+ - name: Wait for S3
+ run: |
+ sleep 10
+ curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 1 http://localhost:9000/minio/health/ready
+ sleep 10
+ curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 1 http://localhost:9000/minio/health/ready
+
- name: PHPUnit
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --group DB,SLOWDB
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 00000000000..4aadd5690a9
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,31 @@
+name: Close stale issues
+
+on:
+ workflow_dispatch:
+ schedule:
+ - cron: "0 0 * * *"
+
+jobs:
+ stale:
+
+ runs-on: ubuntu-latest
+
+ permissions:
+ issues: write
+
+ steps:
+ - uses: actions/stale@v5
+ with:
+ repo-token: ${{ secrets.COMMAND_BOT_PAT }}
+ stale-issue-message: >
+ This issue has been automatically marked as stale because it has not had
+ recent activity and seems to be missing some essential information.
+ It will be closed if no further activity occurs. Thank you
+ for your contributions.
+ stale-issue-label: 'stale'
+ only-labels: 'needs info'
+ exempt-issue-labels: '1. to develop,2. developing,3. to review,4. to release,security'
+ days-before-stale: 30
+ days-before-close: 14
+ debug-only: true
+