Skip to content

fix: modify allowedTools in issue-deduplication.yml#970

Open
m3taphysics wants to merge 1 commit intoanthropics:mainfrom
m3taphysics:patch-1
Open

fix: modify allowedTools in issue-deduplication.yml#970
m3taphysics wants to merge 1 commit intoanthropics:mainfrom
m3taphysics:patch-1

Conversation

@m3taphysics
Copy link

Fix issue deduplication workflow comment permissions

The issue deduplication workflow was failing to post comments on duplicate issues. Claude would complete its analysis correctly but report:

Note: the comment could not be posted due to missing permission (mcp__github__add_issue_comment)

Root cause

The --allowedTools list was missing mcp__github__add_issue_comment, the tool required by the github/github-mcp-server (bundled with claude-code-action) to post issue comments.

The list also included mcp__github__create_issue_comment, which belongs to the older community modelcontextprotocol/servers implementation — not the MCP server this action uses. It was a no-op.

Changes

  • ✅ Added mcp__github__add_issue_comment to --allowedTools
  • 🗑️ Removed mcp__github__create_issue_comment (wrong MCP server, never functional here)

Revised the allowed tools for issue deduplication to include 'mcp__github__add_issue_comment' and remove 'mcp__github__create_issue_comment'.
@m3taphysics m3taphysics changed the title Modify allowedTools in issue-deduplication.yml fix: modify allowedTools in issue-deduplication.yml Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant