[CI] Only run GitHub Actions on the main repo (#55349)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
@@ -24,13 +24,14 @@ permissions:
|
||||
jobs:
|
||||
notify:
|
||||
if: >-
|
||||
(github.event_name == 'pull_request_target' &&
|
||||
github.repository_owner == 'vllm-project' &&
|
||||
((github.event_name == 'pull_request_target' &&
|
||||
github.event.action == 'labeled' &&
|
||||
(github.event.label.name == 'ready' ||
|
||||
github.event.label.name == 'ready-run-all-tests')) ||
|
||||
(github.event_name == 'workflow_run' &&
|
||||
github.event.workflow_run.event == 'pull_request_review' &&
|
||||
github.event.workflow_run.conclusion == 'success')
|
||||
github.event.workflow_run.conclusion == 'success'))
|
||||
runs-on: [self-hosted, linux, x64, vllm-runners]
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
|
||||
Reference in New Issue
Block a user