OPS: auto merge prs

This commit is contained in:
Overtorment 2020-10-23 21:48:27 +01:00
parent 632efdc9e4
commit 8ed3b2e49c

36
.github/workflows/automerge.yml vendored Normal file
View file

@ -0,0 +1,36 @@
name: automerge
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.12.0"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: "!work in progress,!WIP,!DO NOT MERGE"
MERGE_FORKS: false
MERGE_RETRIES: 10
MERGE_RETRY_SLEEP: 1800000
MERGE_DELETE_BRANCH: true
UPDATE_RETRIES: 10
UPDATE_RETRY_SLEEP: 1800000
UPDATE_LABELS: ""
UPDATE_METHOD: "rebase"