Quellcode durchsuchen

dependabot: Auto-approve PRs (#54)

#### Problem

Now that PRs require approval, dependabot PRs don't automatically merge.

#### Summary of changes

Add a step to approve the PR.
Jon C vor 5 Monaten
Ursprung
Commit
001b6a256c
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  1. 5 0
      .github/workflows/dependabot-auto-merge.yml

+ 5 - 0
.github/workflows/dependabot-auto-merge.yml

@@ -15,3 +15,8 @@ jobs:
         env:
           PR_URL: ${{ github.event.pull_request.html_url }}
           GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+      - name: Approve
+        run: gh pr review --approve "$PR_URL"
+        env:
+          PR_URL: ${{ github.event.pull_request.html_url }}
+          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}