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

github.com/nextcloud/text.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 23:19:42 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-09-04 23:19:42 +0300
commitc6a93fa97aff3726ff9d3c0fd6209d6a24818e0b (patch)
tree48e23e2f6797d0ddcde3e9cfdf47e571e7894d8a /.github/workflows
parent44d7dacaaba9136d64930c26008199d597a605eb (diff)
Move to automated dependabot merging
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/dependabot-approve-merge.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/dependabot-approve-merge.yml b/.github/workflows/dependabot-approve-merge.yml
new file mode 100644
index 000000000..201d7f5eb
--- /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 }}