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

github.com/nextcloud/photos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-09-04 22:46:16 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-09-04 22:46:16 +0300
commit3624a86a87fa06293e1af7b6f24345d37c21b3f1 (patch)
tree4403d21dbff4c36f34afe7e75a9327daf4c76002 /.github
parenteef3d1d28284d0067205971028afc893861702dc (diff)
Move to automated dependabot merging
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/dependabot.yml24
-rw-r--r--.github/workflows/dependabot-approve-merge.yml19
-rw-r--r--.github/workflows/dependabot-approve.yml11
3 files changed, 43 insertions, 11 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 00000000..16504243
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,24 @@
+version: 2
+updates:
+- package-ecosystem: composer
+ directory: "/"
+ schedule:
+ interval: weekly
+ day: saturday
+ time: "03:00"
+ timezone: Europe/Paris
+ open-pull-requests-limit: 10
+ labels:
+ - 3. to review
+ - dependencies
+- package-ecosystem: npm
+ directory: "/"
+ schedule:
+ interval: weekly
+ day: saturday
+ time: "03:00"
+ timezone: Europe/Paris
+ open-pull-requests-limit: 10
+ labels:
+ - 3. to review
+ - dependencies
diff --git a/.github/workflows/dependabot-approve-merge.yml b/.github/workflows/dependabot-approve-merge.yml
new file mode 100644
index 00000000..201d7f5e
--- /dev/null
+++ b/.github/workflows/dependabot-approve-merge.yml
@@ -0,0 +1,19 @@
+name: Dependabot
+on: pull_request
+
+jobs:
+ auto-merge:
+ runs-on: ubuntu-latest
+ steps:
+ # Default github action approve
+ - uses: hmarr/auto-approve-action@v2.0.0
+ if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
+ with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+
+ # Nextcloud bot approve and merge request
+ - uses: ahmadnassri/action-dependabot-auto-merge@v1
+ if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
+ with:
+ target: patch
+ github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
diff --git a/.github/workflows/dependabot-approve.yml b/.github/workflows/dependabot-approve.yml
deleted file mode 100644
index cc5e6d17..00000000
--- a/.github/workflows/dependabot-approve.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-name: Dependabot auto approve
-on: pull_request
-
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: hmarr/auto-approve-action@v2.0.0
- if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
- with:
- github-token: "${{ secrets.GITHUB_TOKEN }}"