actions: Automatically merge PRs from the bot

This commit is contained in:
Owain van Brakel
2019-10-01 20:50:01 +02:00
parent b51a1cd249
commit e03843a985

View File

@@ -76,3 +76,15 @@ jobs:
uses: hmarr/auto-approve-action@master
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
merge:
name: Merge
needs: approve
runs-on: ubuntu-latest
steps:
- name: Merge pull request
if: github.event_name == 'pull_request' && github.actor == 'OpenOSRS'
uses: managedkaos/merge-pull-request@master
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"