Browse Source

Merge pull request #6995 from nextcloud/autoApprove

Add auto-approve for dependabot
Tobias Kaminsky 4 years ago
parent
commit
2782468a1b
1 changed files with 11 additions and 0 deletions
  1. 11 0
      .github/workflows/autoApproveDependabot.yml

+ 11 - 0
.github/workflows/autoApproveDependabot.yml

@@ -0,0 +1,11 @@
+name: Auto approve
+on: pull_request
+
+jobs:
+    auto-approve:
+        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.DEPENDABOT_AUTOMERGE_TOKEN }}"