mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add auto-merge action (#1908)
* [skip ci] Add auto-merge action Signed-off-by: jinhai <hai.jin@zilliz.com> * [skip ci] Update auto-merge action Signed-off-by: jinhai <hai.jin@zilliz.com> * [skip ci] Update auto-merge action Signed-off-by: jinhai <hai.jin@zilliz.com>pull/1917/head
parent
ad4645fce0
commit
d0a01c4e59
|
@ -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: Merge pull requests
|
||||||
|
uses: pascalgn/automerge-action@v0.8.0
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
MERGE_LABELS: "automerge,!work in progress"
|
||||||
|
MERGE_REMOVE_LABELS: "automerge"
|
||||||
|
MERGE_METHOD: "squash"
|
||||||
|
MERGE_COMMIT_MESSAGE: "pull-request-description"
|
||||||
|
MERGE_FORKS: "true"
|
||||||
|
MERGE_RETRIES: "6"
|
||||||
|
MERGE_RETRY_SLEEP: "10000"
|
||||||
|
UPDATE_LABELS: ""
|
||||||
|
UPDATE_METHOD: "merge"
|
Loading…
Reference in New Issue