feat: add Toolnames checkup workflow to prevent duplicate tool-name issues#381
feat: add Toolnames checkup workflow to prevent duplicate tool-name issues#381
Conversation
Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
|
@copilot , also update the extension code to include this label when the user creates the issue with the missing toolnames from the extension. |
…el to issue URL Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
Done in commit const labels = encodeURIComponent('MCP Toolnames,Toolnames checkup');Issues created from the extension will automatically carry both labels, so the checkup workflow fires immediately without a maintainer having to add the label manually. Also removed the now-unnecessary |
|
Reverted the adding of both labels automatically to potentially prevent issues auto running workflows with |
Summary
Closes the gap identified in #378 — where a tool-name issue was submitted but the tool was already mapped in
src/toolNames.jsononmain.Changes
New workflow:
.github/workflows/check-toolnames.ymlcheck-toolnames(triggered when the "Toolnames checkup" label is added to any issue)mainand readssrc/toolNames.json.toolNames.json(issue is a duplicate)Extension update:
src/webview/usage/main.tscreateMcpToolIssueUrl()now applies both the "MCP Toolnames" and "Toolnames checkup" labels when a user opens an issue from the extension's "Report unknown tools" button. This means the checkup workflow fires automatically on every new issue — no maintainer action required.How to use
Workflow run link
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.