Skip to content

Commit

Permalink
Add automerge
Browse files Browse the repository at this point in the history
This will ease maintenance.
  • Loading branch information
Jairo Llopis committed May 20, 2020
1 parent ebdf05b commit 23d5e68
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: automerge
on:
pull_request:
types:
- edited
- labeled
- opened
- ready_for_review
- reopened
- synchronize
- unlabeled
- unlocked
pull_request_review:
types:
- submitted
status: {}
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- name: automerge
uses: "pascalgn/[email protected]"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_DELETE_BRANCH: "true"
MERGE_LABELS: "automerge,!work in progress"
MERGE_METHOD: "rebase"
# Disable autorebasing PRs because they cannot retrigger checks
UPDATE_LABELS: ""
UPDATE_METHOD: "rebase"
# Retry for 20m
MERGE_RETRIES: 120
MERGE_RETRY_SLEEP: 10000

0 comments on commit 23d5e68

Please sign in to comment.