Skip to content

Commit

Permalink
ci: Don't run GitHub Actions workflows on forks (zed-industries#19789)
Browse files Browse the repository at this point in the history
- Closes: zed-industries#19351

Release Notes:

- N/A
  • Loading branch information
notpeter authored and CharlesChen0823 committed Nov 18, 2024
1 parent 7f32d14 commit 37795b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 37795b5

Please sign in to comment.