diff --git a/.github/workflows/auto-dependabot.yaml b/.github/workflows/auto-dependabot.yaml new file mode 100644 index 0000000..b4cf289 --- /dev/null +++ b/.github/workflows/auto-dependabot.yaml @@ -0,0 +1,19 @@ +name: Auto-merge Dependabot PRs + +on: + pull_request: + +permissions: + contents: write + pull-requests: write + +jobs: + auto-merge: + if: github.actor == 'dependabot[bot]' + runs-on: ubuntu-latest + steps: + - name: Auto-merge Dependabot PR + uses: ad/dependabot-auto-approve@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + merge-method: 'merge'