Skip to content

ready-to-merge

ready-to-merge #330

---
name: Auto Merge Pull Request With Approved Label
on:
repository_dispatch:
types: [ ready-to-merge ]
jobs:
auto-merge:
name: Auto Merge The Created Pull Request
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- id: automerge
name: Auto Merge a PR with the correct labels
uses: pascalgn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
MERGE_LABELS: "automerge,autogenerated"
MERGE_METHOD: "merge"