aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2021-07-27 12:00:36 +0200
committerGitHub <noreply@github.com>2021-07-27 12:00:36 +0200
commit702bced2b7db60f05a217ddb673360e85b3c3153 (patch)
tree64814ecb1aecf430969b642a06c54fa178c5676c
parent39931cab94512fb3f9eece0f03f66fc1b88a933b (diff)
downloadnextcloud-server-702bced2b7db60f05a217ddb673360e85b3c3153.tar.gz
nextcloud-server-702bced2b7db60f05a217ddb673360e85b3c3153.zip
Add files via upload
-rw-r--r--dependabot-approve-merge.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/dependabot-approve-merge.yml b/dependabot-approve-merge.yml
new file mode 100644
index 00000000000..c8d69da5819
--- /dev/null
+++ b/dependabot-approve-merge.yml
@@ -0,0 +1,29 @@
+# This workflow is provided via the organization template repository
+#
+# https://github.com/nextcloud/.github
+# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
+
+name: Dependabot
+
+on:
+ pull_request_target:
+ branches:
+ - master
+ - stable*
+
+jobs:
+ auto-merge:
+ runs-on: ubuntu-latest
+ steps:
+ # Default github action approve
+ - uses: hmarr/auto-approve-action@v2
+ if: github.actor == 'dependabot[bot]'
+ with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+
+ # Nextcloud bot approve and merge request
+ - uses: ahmadnassri/action-dependabot-auto-merge@v2
+ if: github.actor == 'dependabot[bot]'
+ with:
+ target: minor
+ github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}