Skip to content

Commit

Permalink
chore(build): Update and rename .github/workflows/main.yml to automer…
Browse files Browse the repository at this point in the history
…ge.yml (#4085)

Testing the waters with an automerge capability provided by https://github.com/marketplace/actions/merge-pull-requests

To try it out, add the `ready to merge` label and your PR will be merged automatically after checks pass.
  • Loading branch information
robzienert authored Oct 10, 2019
1 parent e63b189 commit a4d7d6f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: automerge
on:
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
pull_request_review:
types:
- submitted
status: {}
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- name: automerge
uses: "pascalgn/automerge-action@de3a4d6a4975252444319cc9ab21b02d8d657229"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
LABELS: "!wip,!work in progress,!do not merge"
AUTOMERGE: "ready to merge"
MERGE_METHOD: "rebase"
MERGE_FORKS: "true"

0 comments on commit a4d7d6f

Please sign in to comment.