actions: Check event source on merge action

This commit is contained in:
Owain van Brakel
2019-10-09 06:15:46 +02:00
committed by GitHub
parent 67b17b9bbe
commit 15ad899093

View File

@@ -78,7 +78,7 @@ jobs:
steps:
- name: Integration check
if: github.actor == 'OpenOSRS'
if: github.event_name == 'pull_request' && github.actor == 'OpenOSRS'
uses: squalrus/merge-bot@v0.2.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}