diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml new file mode 100644 index 0000000..de80807 --- /dev/null +++ b/.github/workflows/auto-merge.yml @@ -0,0 +1,13 @@ +name: Auto-Merge +on: + pull_request_target + +jobs: + enable-auto-merge: + runs-on: ubuntu-latest + + if: github.event.pull_request.user.login == 'dependabot[bot]' && contains(github.event.pull_request.labels.*.name, 'dependencies') + steps: + - uses: alexwilson/enable-github-automerge-action@main + with: + github-token: "${{ secrets.GITHUB_TOKEN }}"