mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-13 22:18:36 +08:00
[None][infra] Ignore comments from bots and CI accounts (#9929)
Signed-off-by: Kanghwan Jang <861393+karljang@users.noreply.github.com>
This commit is contained in:
parent
4f6d4da035
commit
98c68c195b
8
.github/workflows/waiting_for_feedback.yml
vendored
8
.github/workflows/waiting_for_feedback.yml
vendored
@ -20,8 +20,16 @@ jobs:
|
||||
with:
|
||||
script: |
|
||||
const commenter = context.payload.comment.user.login;
|
||||
const commenterType = context.payload.comment.user.type;
|
||||
const label = 'waiting for feedback';
|
||||
|
||||
// Ignore bots and CI accounts
|
||||
const ignoredAccounts = ['tensorrt-cicd'];
|
||||
if (commenterType === 'Bot' || ignoredAccounts.includes(commenter)) {
|
||||
console.log(`Ignoring comment from ${commenter} (type: ${commenterType}). Skipping.`);
|
||||
return;
|
||||
}
|
||||
|
||||
// Handle both issue_comment and pull_request_review_comment events
|
||||
// context.issue.number is only available for issue_comment events
|
||||
const issueNumber = context.issue?.number || context.payload.pull_request?.number;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user