From 8b2dc1b3a40a939265b4e9e774a9c50074749dfd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 21 Jan 2026 18:09:04 +0000 Subject: [PATCH 1/2] Initial plan From 83de4611bd947cd2ddf5b71c093fcbdab1f1f5b6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 21 Jan 2026 18:25:58 +0000 Subject: [PATCH 2/2] Add get_repository to repos toolset and configure allowed tools - Added get_repository tool to repos toolset in github_toolsets_permissions.json - Added allowed: [get_repository, list_issues, issue_read] to workflow frontmatter - Rebuilt binary to embed updated toolset definitions - Recompiled workflow Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com> --- .github/workflows/github-remote-mcp-auth-test.md | 1 + pkg/workflow/data/github_toolsets_permissions.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-remote-mcp-auth-test.md b/.github/workflows/github-remote-mcp-auth-test.md index 392fb35120e..a7c37941eab 100644 --- a/.github/workflows/github-remote-mcp-auth-test.md +++ b/.github/workflows/github-remote-mcp-auth-test.md @@ -14,6 +14,7 @@ tools: github: mode: remote toolsets: [repos, issues, discussions] + allowed: [get_repository, list_issues, issue_read] safe-outputs: create-discussion: title-prefix: "[auth-test] " diff --git a/pkg/workflow/data/github_toolsets_permissions.json b/pkg/workflow/data/github_toolsets_permissions.json index ecc634a2282..8f204eb4566 100644 --- a/pkg/workflow/data/github_toolsets_permissions.json +++ b/pkg/workflow/data/github_toolsets_permissions.json @@ -12,7 +12,7 @@ "description": "Repository operations", "read_permissions": ["contents"], "write_permissions": ["contents"], - "tools": ["get_commit", "get_file_contents", "get_latest_release", "get_release_by_tag", "get_repository_tree", "get_tag", "list_branches", "list_commits", "list_releases", "list_tags"] + "tools": ["get_commit", "get_file_contents", "get_latest_release", "get_release_by_tag", "get_repository", "get_repository_tree", "get_tag", "list_branches", "list_commits", "list_releases", "list_tags"] }, "issues": { "description": "Issue management",