meta: automatically update PRs that have auto merge enabled #1
Workflow file for this run
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: Automerge PR | |
on: | |
pull_request: | |
types: | |
- labeled | |
- unlabeled | |
- synchronize | |
- opened | |
- edited | |
- ready_for_review | |
- reopened | |
- unlocked | |
pull_request_review: | |
types: | |
- submitted | |
check_suite: | |
types: | |
- completed | |
status: {} | |
jobs: | |
automerge: | |
runs-on: ubuntu-latest | |
steps: | |
- name: automerge | |
uses: "pascalgn/automerge-action@v0.16.2" | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
MERGE_METHOD: 'squash' | |
MERGE_COMMIT_MESSAGE: "pull-request-title-and-description" | |
MERGE_COMMIT_MESSAGE_REGEX: '<!-- \\[BREAKING CHANGES START] -->(.*)' | |
MERGE_DELETE_BRANCH: 'true' |