Skip to content

Commit 4cce944

Browse files
committed
Never run the root-cause agent on pull_request
The model costs real tokens and a PR only needs to prove the detection half works. Gate root-cause on github.event_name != 'pull_request'; use workflow_dispatch to exercise it once the workflow is on the default branch.
1 parent 67f69e7 commit 4cce944

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/vllm-torch-nightly-triage.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,15 @@ jobs:
102102
# vllm-pytorch-ci-triage skill. Unprivileged: Bedrock via OIDC, no write scopes, and
103103
# no Buildkite or ClickHouse credentials -- the logs it reads were fetched upstream,
104104
# so the model only needs Read. Reports to the run summary; files nothing.
105+
#
106+
# Never runs on pull_request: the model costs real tokens and a PR only needs to
107+
# prove the detection half works. Use workflow_dispatch to exercise this job.
105108
root-cause:
106109
needs: triage
107-
if: needs.triage.outputs.has_report == 'true' && needs.triage.outputs.log_count != '0'
110+
if: |
111+
github.event_name != 'pull_request' &&
112+
needs.triage.outputs.has_report == 'true' &&
113+
needs.triage.outputs.log_count != '0'
108114
runs-on: ubuntu-24.04
109115
environment: bedrock
110116
timeout-minutes: 30

0 commit comments

Comments
 (0)