Add automatic merge workflow

This commit is contained in:
Johannes Meyer 2020-04-23 14:29:56 +02:00
parent 4819a8dc65
commit 10b9de7ca7
1 changed files with 22 additions and 0 deletions

22
.github/workflows/automatic-merge.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Automatic Merge
on:
schedule:
# Every day at midnight
#- cron: "0 0 * * *"
# Every 15 minutes
- cron: "*/15 * * * *"
jobs:
merge:
name: Automatic pull request merges
runs-on: ubuntu-latest
steps:
- name: Merge ready PRs
uses: pascalgn/automerge-action@135f0bdb927d9807b5446f7ca9ecc2c51de03c4a
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: "automation"
MERGE_METHOD: "squash"
MERGE_DELETE_BRANCH: "true"