diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 55fe096c6..7925c0ba4 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -18,10 +18,34 @@ concurrency: jobs: claude: if: | - (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) || - (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) || - (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) || - (github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude'))) + ( + github.event_name == 'issue_comment' && + contains(github.event.comment.body, '@claude') && + (github.event.comment.author_association == 'OWNER' || + github.event.comment.author_association == 'MEMBER' || + github.event.comment.author_association == 'COLLABORATOR') + ) || + ( + github.event_name == 'pull_request_review_comment' && + contains(github.event.comment.body, '@claude') && + (github.event.comment.author_association == 'OWNER' || + github.event.comment.author_association == 'MEMBER' || + github.event.comment.author_association == 'COLLABORATOR') + ) || + ( + github.event_name == 'pull_request_review' && + contains(github.event.review.body, '@claude') && + (github.event.review.author_association == 'OWNER' || + github.event.review.author_association == 'MEMBER' || + github.event.review.author_association == 'COLLABORATOR') + ) || + ( + github.event_name == 'issues' && + (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')) && + (github.event.issue.author_association == 'OWNER' || + github.event.issue.author_association == 'MEMBER' || + github.event.issue.author_association == 'COLLABORATOR') + ) runs-on: ubuntu-latest timeout-minutes: 30 permissions: diff --git a/eval/bridge/mcp_bridge.py b/eval/bridge/mcp_bridge.py index 1be0bde6e..c549c4d2b 100644 --- a/eval/bridge/mcp_bridge.py +++ b/eval/bridge/mcp_bridge.py @@ -2,7 +2,7 @@ MCP Bridge for GitNexus Starts the GitNexus MCP server as a subprocess and provides a Python interface -to call MCP tools. Used by the bash wrapper scripts and the augmentation layer. +to call MCP tools. Used by the bash wrapper scripts and the augmentation layer.. The bridge communicates with the MCP server via stdio using the JSON-RPC protocol. """