pypa-hatch/.github/workflows/auto-merge.yml

22 lines
429 B
YAML

name: auto-merge
on:
pull_request_target:
types:
- opened
- reopened
- synchronize
branches:
- master
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --squash ${{ github.event.pull_request.html_url }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}