From 15ad899093141e26d5ab7d0ca36cb96aea38c1a5 Mon Sep 17 00:00:00 2001 From: Owain van Brakel Date: Wed, 9 Oct 2019 06:15:46 +0200 Subject: [PATCH] actions: Check event source on merge action --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba829df09e..9db26d1a40 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}