From e9cdda16c8df89c7f1b34d9bb03e09f577b8002c Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Sat, 20 Jul 2024 22:59:05 +0200 Subject: [PATCH] (#114) build PR only if they originate in remote repos --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e95ee5e..344465d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,7 @@ on: jobs: build: runs-on: ${{ matrix.os }} + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository strategy: matrix: os: [windows-2022, ubuntu-22.04, macos-12]