summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-03-28 13:22:30 +1100
committerJesse Duffield <jessedduffield@gmail.com>2020-03-28 13:22:30 +1100
commit96c7741ba06359cbc253e615e3160a905512330c (patch)
tree607107dd69e7f5ae51240a94c4ce63672b018a88 /.github
parent517b7d02839ab87693f19ea571b8bd29f07fd00e (diff)
add workflow for auto-merging
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/automerge.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml
new file mode 100644
index 000000000..4eaff9686
--- /dev/null
+++ b/.github/workflows/automerge.yml
@@ -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
+ check_suite:
+ types:
+ - completed
+ status: {}
+jobs:
+ automerge:
+ runs-on: ubuntu-latest
+ steps:
+ - name: automerge
+ uses: "pascalgn/automerge-action@135f0bdb927d9807b5446f7ca9ecc2c51de03c4a"
+ env:
+ GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
+ MERGE_METHOD: rebase \ No newline at end of file