diff --git a/.github/workflows/auto-dependabot.yaml b/.github/workflows/auto-dependabot.yaml new file mode 100644 index 00000000..e7cff986 --- /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: frequenz-floss/dependabot-auto-approve@3cad5f42e79296505473325ac6636be897c8b8a1 # v1.3.2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + merge-method: 'merge'