aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Mehri2024-02-25 10:37:54 +0000
committerGitHub2024-02-25 10:37:54 +0000
commitdfa5382c51978c6a582d4586c65aa0f677be2ee8 (patch)
treedbec02ef6d590b69c61e946fb6bee80c5f708b3a
parent6db666fce1fb4627c06d147554b8e1eb9970619e (diff)
Don't run scheduled builds on forks (#9718)
-rw-r--r--.github/workflows/build.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3d47c208..7ba46ce5 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -12,6 +12,7 @@ jobs:
check:
name: Check (msrv)
runs-on: ubuntu-latest
+ if: github.repository == 'helix-editor/helix' || github.event_name != 'schedule'
steps:
- name: Checkout sources
uses: actions/checkout@v4
@@ -31,6 +32,7 @@ jobs:
test:
name: Test Suite
runs-on: ${{ matrix.os }}
+ if: github.repository == 'helix-editor/helix' || github.event_name != 'schedule'
env:
RUST_BACKTRACE: 1
HELIX_LOG_LEVEL: info
@@ -65,6 +67,7 @@ jobs:
lints:
name: Lints
runs-on: ubuntu-latest
+ if: github.repository == 'helix-editor/helix' || github.event_name != 'schedule'
steps:
- name: Checkout sources
uses: actions/checkout@v4
@@ -92,6 +95,7 @@ jobs:
docs:
name: Docs
runs-on: ubuntu-latest
+ if: github.repository == 'helix-editor/helix' || github.event_name != 'schedule'
steps:
- name: Checkout sources
uses: actions/checkout@v4