[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:
Harry Mellor
2026-09-05 00:09:49 +08:00
committed by GitHub
parent f19431e5c8
commit 5e729d84eb
10 changed files with 14 additions and 5 deletions
+3 -2
View File
@@ -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