From db61711753665a7a9763e033d167cb926e2f7835 Mon Sep 17 00:00:00 2001 From: Peter Tripp Date: Sun, 27 Oct 2024 13:04:52 +0000 Subject: [PATCH] ci: Don't run GitHub Actions workflows on forks (#19789) - Closes: https://github.com/zed-industries/zed/issues/19351 Release Notes: - N/A --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3843a3343b..ba475f88ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,6 +91,7 @@ jobs: macos_tests: timeout-minutes: 60 name: (macOS) Run Clippy and tests + if: github.repository_owner == 'zed-industries' runs-on: - self-hosted - test @@ -126,6 +127,7 @@ jobs: linux_tests: timeout-minutes: 60 name: (Linux) Run Clippy and tests + if: github.repository_owner == 'zed-industries' runs-on: - buildjet-16vcpu-ubuntu-2204 steps: @@ -158,6 +160,7 @@ jobs: build_remote_server: timeout-minutes: 60 name: (Linux) Build Remote Server + if: github.repository_owner == 'zed-industries' runs-on: - buildjet-16vcpu-ubuntu-2204 steps: @@ -185,6 +188,7 @@ jobs: windows_tests: timeout-minutes: 60 name: (Windows) Run Clippy and tests + if: github.repository_owner == 'zed-industries' runs-on: hosted-windows-1 steps: - name: Checkout repo