14 lines
368 B
YAML
14 lines
368 B
YAML
|
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 }}"
|