ready-to-merge #66
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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" |