diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml new file mode 100644 index 0000000..2e5ee58 --- /dev/null +++ b/.github/workflows/dependabot.yml @@ -0,0 +1,17 @@ +name: Dependabot auto-approve +on: pull_request + +permissions: + # Mandatory for both the auto-merge enabling and approval steps + pull-requests: write + # Mandatory for the auto-merge enabling step + contents: write + +jobs: + dependabot: + runs-on: ubuntu-latest + steps: + - name: Automatically merge Dependabot PRs + uses: scalingo/ghaction-dependabot-automerge@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}