[CI] Allow comment-triggered builds past pipeline filters (#50197)
Signed-off-by: khluu <khluu000@gmail.com>
This commit is contained in:
@@ -381,6 +381,7 @@ def create_build_payload(
|
|||||||
"pull_request_base_branch": pr["base"]["ref"],
|
"pull_request_base_branch": pr["base"]["ref"],
|
||||||
"pull_request_repository": pr["head"]["repo"]["clone_url"],
|
"pull_request_repository": pr["head"]["repo"]["clone_url"],
|
||||||
"pull_request_labels": [label["name"] for label in pr["labels"]],
|
"pull_request_labels": [label["name"] for label in pr["labels"]],
|
||||||
|
"ignore_pipeline_branch_filters": True,
|
||||||
"env": {
|
"env": {
|
||||||
"VLLM_CI_GITHUB_COMMENT_ID": str(comment_id),
|
"VLLM_CI_GITHUB_COMMENT_ID": str(comment_id),
|
||||||
"VLLM_CI_TRIGGERED_BY": actor,
|
"VLLM_CI_TRIGGERED_BY": actor,
|
||||||
|
|||||||
@@ -280,6 +280,7 @@ class RunCiCommandTest(unittest.TestCase):
|
|||||||
"pull_request_base_branch": "main",
|
"pull_request_base_branch": "main",
|
||||||
"pull_request_repository": ("https://github.com/contributor/vllm.git"),
|
"pull_request_repository": ("https://github.com/contributor/vllm.git"),
|
||||||
"pull_request_labels": ["ready", "v1"],
|
"pull_request_labels": ["ready", "v1"],
|
||||||
|
"ignore_pipeline_branch_filters": True,
|
||||||
"env": {
|
"env": {
|
||||||
"VLLM_CI_GITHUB_COMMENT_ID": "99",
|
"VLLM_CI_GITHUB_COMMENT_ID": "99",
|
||||||
"VLLM_CI_TRIGGERED_BY": "reviewer",
|
"VLLM_CI_TRIGGERED_BY": "reviewer",
|
||||||
|
|||||||
Reference in New Issue
Block a user