fix: use e2e and unit test only for original repo or pr (#912)

This commit is contained in:
Yineng Zhang
2024-08-04 14:34:50 +08:00
committed by GitHub
parent 995af5a54b
commit 4f00525057
2 changed files with 2 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ concurrency:
jobs:
e2e-test:
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
runs-on: self-hosted
steps:

View File

@@ -19,6 +19,7 @@ concurrency:
jobs:
unit-test:
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
runs-on: self-hosted
steps: