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 }}