From 94db75fd6cd10997c4b209a6d2549971505a2a28 Mon Sep 17 00:00:00 2001 From: Steven Nguyen Date: Thu, 6 Nov 2025 15:05:45 -0800 Subject: [PATCH] fix: Correct GitHub MCP tool name from list_labels to list_label The correct tool name in GitHub MCP server is 'list_label' (singular), not 'list_labels' (plural). This was causing the agent to fall back to bash commands like 'gh label list' instead of using the proper MCP tool. --- .github/workflows/issue-triage.lock.yml | 6 +++--- .github/workflows/issue-triage.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/issue-triage.lock.yml b/.github/workflows/issue-triage.lock.yml index fc66206ce7..c11c4b4c08 100644 --- a/.github/workflows/issue-triage.lock.yml +++ b/.github/workflows/issue-triage.lock.yml @@ -5,7 +5,7 @@ # # Source: githubnext/agentics/workflows/issue-triage.md@0837fb7b24c3b84ee77fb7c8cfa8735c48be347a # -# Effective stop-time: 2025-12-06 22:33:07 +# Effective stop-time: 2025-12-06 23:05:45 # # Job Dependency Graph: # ```mermaid @@ -2147,7 +2147,7 @@ jobs: 5. Next, use the GitHub tools to gather additional context about the issue: - - Fetch the list of labels available in this repository using the `list_labels` GitHub tool. This will give you the labels you can use for triaging issues. + - Fetch the list of labels available in this repository using the `list_label` tool. This will give you the labels you can use for triaging issues. - Fetch any comments on the issue using the `get_issue_comments` tool - **Search for duplicate and related issues**: Use the `search_issues` tool to find similar issues by searching for key terms from the issue title and description. Look for both open and closed issues that might be related or duplicates. @@ -4938,7 +4938,7 @@ jobs: id: check_stop_time uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd env: - GH_AW_STOP_TIME: 2025-12-06 22:33:07 + GH_AW_STOP_TIME: 2025-12-06 23:05:45 GH_AW_WORKFLOW_NAME: "Agentic Triage" with: script: | diff --git a/.github/workflows/issue-triage.md b/.github/workflows/issue-triage.md index d749d4b41e..500dc9bbf9 100644 --- a/.github/workflows/issue-triage.md +++ b/.github/workflows/issue-triage.md @@ -51,7 +51,7 @@ You're a triage assistant for GitHub issues. Your task is to analyze issues crea 5. Next, use the GitHub tools to gather additional context about the issue: - - Fetch the list of labels available in this repository using the `list_labels` GitHub tool. This will give you the labels you can use for triaging issues. + - Fetch the list of labels available in this repository using the `list_label` tool. This will give you the labels you can use for triaging issues. - Fetch any comments on the issue using the `get_issue_comments` tool - **Search for duplicate and related issues**: Use the `search_issues` tool to find similar issues by searching for key terms from the issue title and description. Look for both open and closed issues that might be related or duplicates.