fix: use e2e and unit test only for original repo or pr (#912)
This commit is contained in:
1
.github/workflows/e2e-test.yml
vendored
1
.github/workflows/e2e-test.yml
vendored
@@ -19,6 +19,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
e2e-test:
|
||||
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
|
||||
runs-on: self-hosted
|
||||
|
||||
steps:
|
||||
|
||||
1
.github/workflows/unit-test.yml
vendored
1
.github/workflows/unit-test.yml
vendored
@@ -19,6 +19,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
unit-test:
|
||||
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
|
||||
runs-on: self-hosted
|
||||
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user