Run tests based on labels (#10456)
This commit is contained in:
3
.github/workflows/execute-notebook.yml
vendored
3
.github/workflows/execute-notebook.yml
vendored
@@ -6,6 +6,7 @@ on:
|
||||
paths:
|
||||
- "python/sglang/**"
|
||||
- "docs/**"
|
||||
types: [synchronize, labeled]
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
@@ -17,7 +18,7 @@ concurrency:
|
||||
jobs:
|
||||
run-all-notebooks:
|
||||
runs-on: 1-gpu-runner
|
||||
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
|
||||
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run-ci')
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user