From d11988185427931d68ccd5be03bd883d6ea04bef Mon Sep 17 00:00:00 2001 From: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com> Date: Sat, 16 May 2026 15:28:28 +1000 Subject: [PATCH] make pull requests auto build --- .github/workflows/build-coop.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-coop.yaml b/.github/workflows/build-coop.yaml index 687f6b0e1..cd5a12d6b 100644 --- a/.github/workflows/build-coop.yaml +++ b/.github/workflows/build-coop.yaml @@ -4,10 +4,12 @@ on: workflow_dispatch: push: branches: [ dev ] + pull_request: + branches: [ dev ] jobs: build-linux: - if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[build]') }} + if: ${{ github.event_name != 'push' || contains(github.event.head_commit.message, '[build]') }} runs-on: ubuntu-22.04 steps: - name: Checkout repository @@ -39,7 +41,7 @@ jobs: path: ./build/us_pc/sm64coopdx_Linux.zip build-steamos: - if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[build]') }} + if: ${{ github.event_name != 'push' || contains(github.event.head_commit.message, '[build]') }} runs-on: ubuntu-22.04 steps: - name: Checkout repository @@ -71,7 +73,7 @@ jobs: path: ./build/us_pc/sm64coopdx_SteamOS.zip build-windows: - if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[build]') }} + if: ${{ github.event_name != 'push' || contains(github.event.head_commit.message, '[build]') }} runs-on: windows-latest defaults: run: @@ -119,7 +121,7 @@ jobs: path: ./build/us_pc/sm64coopdx_Windows.zip build-macos-arm: - if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[build]') }} + if: ${{ github.event_name != 'push' || contains(github.event.head_commit.message, '[build]') }} runs-on: macos-26 steps: - name: Checkout repository @@ -174,7 +176,7 @@ jobs: path: ./build/us_pc/sm64coopdx_macOS_ARM.zip build-macos-intel: - if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[build]') }} + if: ${{ github.event_name != 'push' || contains(github.event.head_commit.message, '[build]') }} runs-on: macos-15-intel steps: - name: Checkout repository