Skip to content

[mcp-tools] Update GitHub MCP toolsets mapping with latest tools from source (v2.1)#19058

Merged
pelikhan merged 6 commits intomainfrom
update-github-mcp-tools-mapping-2026-03-01-c9678bc34863349b
Mar 1, 2026
Merged

[mcp-tools] Update GitHub MCP toolsets mapping with latest tools from source (v2.1)#19058
pelikhan merged 6 commits intomainfrom
update-github-mcp-tools-mapping-2026-03-01-c9678bc34863349b

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 1, 2026

  • Move .github/instructions/github-mcp-server.instructions.md to .github/aw/github-mcp-server.md
  • Update .github/workflows/github-mcp-tools-report.md to reference the new path
  • Update comments in pkg/workflow/github_tool_to_toolset.go and pkg/workflow/github_toolsets.go with new path
  • Fix permission validation: collectRequiredPermissions now only considers read_permissions from toolset definitions — write tools are ignored for permission requirements
  • Update all affected tests (unit + integration) to reflect that only read-level permissions are required

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Cross-referenced pkg/workflow/data/github_toolsets_permissions.json against
the github/github-mcp-server source files. Significant discrepancies found
and resolved:

Context toolset:
- Replaced remote-only Copilot space tools with source-accurate tools:
  get_me, get_team_members, get_teams (from context_tools.go)

Repos toolset:
- Added write tools: create_branch, create_or_update_file, create_repository,
  delete_file, fork_repository, push_files
- Removed non-existent: get_repository_tree

Issues toolset:
- Added: add_issue_comment, issue_write, sub_issue_write

Pull requests toolset:
- Added: add_comment_to_pending_review, add_reply_to_pull_request_comment,
  create_pull_request, merge_pull_request, pull_request_review_write,
  update_pull_request, update_pull_request_branch

Actions toolset:
- Added: actions_run_trigger; added actions to write_permissions

Gists toolset:
- Added: create_gist, update_gist

Labels toolset:
- Added: label_write

Notifications toolset:
- Added: dismiss_notification, manage_notification_subscription,
  manage_repository_notification_subscription, mark_all_notifications_read

Experiments toolset (was empty):
- Added: enable_toolset, get_toolset_tools, list_available_toolsets

Projects toolset:
- Replaced old granular tools with new consolidated API:
  projects_get, projects_list, projects_write

Search toolset:
- Removed search_issues and search_pull_requests (these belong to
  issues/pull_requests toolsets per source code analysis)

Stargazers toolset:
- Added: star_repository, unstar_repository

Also created .github/instructions/github-mcp-server.instructions.md with
comprehensive documentation of all 79 tools organized by toolset.

Total tools: 56 → 79 (+23 net new after removals)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added automation documentation Improvements or additions to documentation labels Mar 1, 2026
Copy link
Contributor

@pelikhan pelikhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot

  • move file to .github/aw/github-mcp-server.md
  • update agentic workflow that generated file to use this path as well

…cp-server.md

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor

Copilot AI commented Mar 1, 2026

@copilot

  • move file to .github/aw/github-mcp-server.md...

Done in 992b8df. Moved .github/instructions/github-mcp-server.instructions.md to .github/aw/github-mcp-server.md and updated all references in the workflow (github-mcp-tools-report.md) and Go source comments.

@pelikhan pelikhan marked this pull request as ready for review March 1, 2026 12:59
Copilot AI review requested due to automatic review settings March 1, 2026 12:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s GitHub MCP toolset/permission inventory and related documentation references to reflect an upstream github-mcp-server toolset update (v2.1).

Changes:

  • Refreshes pkg/workflow/data/github_toolsets_permissions.json (v2.1) with new/removed/moved tools and updated permission requirements.
  • Updates code/comments and the report workflow template to reference the new .github/aw/github-mcp-server.md documentation path.
  • Adds new comprehensive GitHub MCP server documentation under .github/aw/.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
pkg/workflow/github_toolsets.go Updates comment reference for documented default toolsets.
pkg/workflow/github_tool_to_toolset.go Updates comment reference to the new documentation path.
pkg/workflow/data/github_toolsets_permissions.json Major update to toolset definitions, tools inventory, and required permissions (v2.1).
.github/workflows/github-mcp-tools-report.md Updates the report template to link to the new documentation location.
.github/aw/github-mcp-server.md Adds a new, detailed GitHub MCP documentation file with tool listings by toolset.
Comments suppressed due to low confidence (4)

pkg/workflow/data/github_toolsets_permissions.json:22

  • context.tools now includes get_me, but the compiler’s tool-to-toolset mapping (pkg/workflow/data/github_tool_to_toolset.json) currently maps get_me to the users toolset. This inconsistency will cause ValidateGitHubToolsAgainstToolsets to demand users when a workflow allowlists get_me, even though this file/documentation says it’s in context. The toolset inventories/mappings should be kept consistent (update github_tool_to_toolset.json and its tests alongside this change).
    "context": {
      "description": "GitHub context and environment (current user, teams)",
      "read_permissions": [],
      "write_permissions": [],
      "tools": ["get_me", "get_team_members", "get_teams"]
    },

pkg/workflow/data/github_toolsets_permissions.json:58

  • The labels toolset lists list_label, but the compiler’s tool-to-toolset map uses list_labels (pkg/workflow/data/github_tool_to_toolset.json), and existing docs also reference list_labels in places. This mismatch will lead to incorrect toolset validation for allowlists depending on which name a workflow uses. Please reconcile tool naming across the JSON inventories and the embedded tool-to-toolset mapping (and update any dependent docs/tests accordingly).
    "labels": {
      "description": "Label management",
      "read_permissions": ["issues"],
      "write_permissions": ["issues"],
      "tools": ["get_label", "label_write", "list_label"]
    },

pkg/workflow/data/github_toolsets_permissions.json:105

  • The repos toolset adds many new write-capable tools (create_branch, create_or_update_file, push_files, etc.), but ValidateGitHubToolsAgainstToolsets relies on pkg/workflow/data/github_tool_to_toolset.json for tool→toolset resolution, and that file currently doesn’t include these tool names. As a result, any workflow that tries to allowlist these tools will fail compilation with “Unknown GitHub tool(s)”. Update github_tool_to_toolset.json (and its tests) in the same PR to include the newly documented tools.
      "tools": [
        "create_branch",
        "create_or_update_file",
        "create_repository",
        "delete_file",
        "fork_repository",
        "get_commit",
        "get_file_contents",

.github/aw/github-mcp-server.md:163

  • The actions tool names documented here (actions_get, actions_list, actions_run_trigger) don’t match the tool names used throughout this repo today (e.g., list_workflows, list_workflow_runs, get_workflow_run in pkg/constants/constants.go and pkg/workflow/data/github_tool_to_toolset.json). Unless the runtime tool names have changed everywhere else, this doc + the permissions JSON will be misleading and may cause users to write allowlists that fail compilation. Please either align the documentation/tool inventory with the repo’s current tool names or update the rest of the repo/tool-to-toolset mapping to the new names in the same PR.
### actions
**Description**: GitHub Actions workflows
**Source**: [`pkg/github/actions.go`](https://github.com/github/github-mcp-server/blob/main/pkg/github/actions.go)

| Tool | Purpose | Key Parameters |
|------|---------|----------------|
| `actions_get` | Get details of a specific workflow run | `owner`, `repo`, `run_id` |
| `actions_list` | List GitHub Actions workflows and runs | `owner`, `repo`, `workflow_id` |
| `actions_run_trigger` | Trigger a workflow run | `owner`, `repo`, `workflow_id`, `ref`, `inputs` |
| `get_job_logs` | Download logs for a specific workflow job | `owner`, `repo`, `job_id` |


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pelikhan
Copy link
Contributor

pelikhan commented Mar 1, 2026

…ment

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor

Copilot AI commented Mar 1, 2026

@copilot Fix https://github.com/github/gh-aw/actions/runs/22543869564/job/65303170817

Fixed in 482fca3. The actions toolset now has write_permissions: ["actions"] (since actions_run_trigger was added). The two failing tests were updated to expect actions: write instead of actions: read.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw 64/pkg/tool/linu-c /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel 64/pkg/tool/linurev-parse (http block)
  • https://api.github.com/repos/actions/ai-inference/git/ref/tags/v1
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq .object.sha se 7553314/b169/vet.cfg /usr/bin/bash (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq .object.sha x_amd64/vet git e_modules/.bin/sh --show-toplevel x_amd64/vet erignore bash --no�� te &#39;../../../**/*.json&#39; &#39;!../../../pkg/workflow/js/**/*.json&#39; --ignore-path ../../../.prettieriggit git /opt/hostedtoolcache/uv/0.10.7/x86_64/bash --show-toplevel x_amd64/vet ode-gyp-bin/node--show-toplevel bash (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq .object.sha --show-toplevel gh de_modules/.bin/node /repos/nonexistegit --jq /usr/bin/git git tion�� --show-toplevel git tions/setup/js/node_modules/.bin/sh --show-toplevel (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha -unreachable=false /tmp/go-build1337553314/b063/vet.cfg 7553314/b142/vet.cfg (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha --show-toplevel (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha se 7553314/b053/vet.cfg .cfg credential.helpegit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha se 7553314/b136/vet.cfg ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet credential.helpegit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha --show-toplevel (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v8
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha se 7553314/b079/vet.cfg ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet credential.helpegit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha se 7553314/b070/vet.cfg ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet credential.userngit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha --show-toplevel (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq .object.sha .egg 7553314/b104/vet.cfg ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet credential.helpegit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq .object.sha (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha .egg 7553314/b067/vet.cfg ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet credential.helpegit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha (http block)
  • https://api.github.com/repos/actions/upload-artifact/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq .object.sha 2026-03-01-c9678bc34863349b^{commit} (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq .object.sha ./../pkg/workflow/js/**/*.json&#39; --ignore-path /opt/hostedtoolcache/go/1.25.0/x../../../.prettierignore ache/node/24.13.1/x64/bin/node -bool -buildtags /home/REDACTED/.co--show-toplevel git _cod�� --show-toplevel bash tions/setup/js/node_modules/.bin/sh --noprofile -tests /usr/bin/git git (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq .object.sha ignore-path ../../../.prettierignore (http block)
  • https://api.github.com/repos/nonexistent/action/git/ref/tags/v999.999.999
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq .object.sha ignore-path ../../../.prettierignore (http block)

If you need me to access, download, or install something from one of these locations, you can either:

@pelikhan
Copy link
Contributor

pelikhan commented Mar 1, 2026

@copilot ignore the write tools for permissions . Only consider read tools.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor

Copilot AI commented Mar 1, 2026

@copilot ignore the write tools for permissions . Only consider read tools.

Done in 20c1d28. collectRequiredPermissions now only uses read_permissions from the toolset definitions — write permissions are ignored when determining required permissions. This means workflows using the actions toolset (or any toolset with write tools) only need read access, not write.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw 64/pkg/tool/linu-c /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel 64/pkg/tool/linurev-parse /usr/bin/git git (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw git /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel git /usr/bin/git git (http block)
  • https://api.github.com/repos/actions/ai-inference/git/ref/tags/v1
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq .object.sha -unreachable=false /tmp/go-build1427789973/b127/vet.cfg e_modules/.bin/sh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq .object.sha --show-toplevel git ache/node/24.13.1/x64/bin/node --show-toplevel (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq .object.sha --show-toplevel git nfig/composer/vendor/bin/bash --show-toplevel git /usr/bin/git git rev-�� --show-toplevel git /opt/hostedtoolcache/node/24.13.1/x64/bin/node --show-toplevel git /usr/bin/git node (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq .object.sha --get-regexp --local de_modules/.bin/node (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq .object.sha [:lower:] ironment_test.go 1/x64/bin/node te &#39;../../../**/git or_helpers.go /bin/sh git rev-�� --show-toplevel /bin/sh 1/x64/bin/node echo &#34;��� Go codgit -tests /opt/hostedtoolc--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq .object.sha --show-toplevel git 1/x64/bin/node --show-toplevel git /opt/hostedtoolc--show-toplevel git js --show-toplevel node 1/x64/bin/bash x_amd64/vet git /opt/hostedtoolc--show-toplevel git (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha -bool -buildtags /opt/hostedtoolcache/uv/0.10.7/x86_64/sh ./../.prettieriggit -ifaceassert -nilfunc sh -c &#34;prettier&#34; --write &#39;**/*.cjs&#39; &#39;**/*.ts&#39; &#39;**/*.json&#39; --ignore-path ../../../.pret.prettierignore -tests /usr/local/sbin/sh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha --show-toplevel x_amd64/vet /usr/bin/git ath ../../../.prgit (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha --show-toplevel (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha --show-toplevel sh ache/node/24.13.1/x64/bin/node &#34;prettier&#34; --wrigit (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v8
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha --show-toplevel (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha --show-toplevel node ache/node/24.13.1/x64/bin/node --write ../../../**/*.jsrev-parse /usr/bin/git git _har�� --show-toplevel git ache/node/24.13.1/x64/bin/node --show-toplevel (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq .object.sha --show-toplevel node ache/node/24.13.1/x64/bin/node --write ../../../**/*.jsrev-parse /usr/bin/git git _har�� --show-toplevel git ache/node/24.13.1/x64/bin/node --show-toplevel (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq .object.sha --show-toplevel git ache/node/24.13.1/x64/bin/node --show-toplevel git /usr/bin/git git _lab�� --show-toplevel git ache/go/1.25.0/x64/bin/go --show-toplevel git /usr/bin/git git (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha --show-toplevel prettier ache/node/24.13.1/x64/bin/node ../../../**/*.jsgit !../../../pkg/worev-parse /usr/bin/git git _har�� --show-toplevel git ache/node/24.13.1/x64/bin/node --show-toplevel (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha --show-toplevel git ache/node/24.13.1/x64/bin/node --show-toplevel git /usr/bin/git git _lab�� --show-toplevel git /usr/bin/git --show-toplevel git /usr/bin/git git (http block)
  • https://api.github.com/repos/actions/upload-artifact/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq .object.sha ./../pkg/workflow/js/**/*.json&#39; --ignore-path .cfg 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq .object.sha --show-toplevel /opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/vet /usr/bin/git te &#39;**/*.cjs&#39; &#39;*git /tmp/go-build142rev-parse k/gh-aw/gh-aw/ac--show-toplevel git rev-�� --show-toplevel /opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/vet 1/x64/bin/node -unreachable=falgit /tmp/go-build142rev-parse on git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq .object.sha --show-toplevel git 1/x64/bin/node --show-toplevel git /usr/bin/git git ance�� --verify --quiet 1/x64/bin/node --show-toplevel git /opt/hostedtoolc--show-toplevel git (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq .object.sha ignore-path ../../../.prettierignore pported.go x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq .object.sha --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git th .prettierignonode .cfg 64/pkg/tool/linux_amd64/vet git rev-�� --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq .object.sha --show-toplevel git /usr/bin/git --show-toplevel /opt/hostedtoolcjs/fuzz_sanitize_incoming_text_harness.cjs 1/x64/bin/node git rev-�� --show-toplevel git /usr/bin/git --oneline -10 1/x64/bin/node git (http block)
  • https://api.github.com/repos/nonexistent/action/git/ref/tags/v999.999.999
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq .object.sha ignore-path ../../../.prettierignore ommon.go x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq .object.sha --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git th .prettierignonode (http block)
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq .object.sha --show-toplevel git /usr/bin/git --show-toplevel /opt/hostedtoolcjs/fuzz_sanitize_incoming_text_harness.cjs 1/x64/bin/node git rev-�� --show-toplevel grep /usr/bin/git &#34;type&#34;[[:space:]bash /opt/hostedtoolc--norc 1/x64/bin/node git (http block)

If you need me to access, download, or install something from one of these locations, you can either:

@pelikhan
Copy link
Contributor

pelikhan commented Mar 1, 2026

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor

Copilot AI commented Mar 1, 2026

@copilot fix https://github.com/github/gh-aw/actions/runs/22546701230/job/65310416547

Fixed in cddaa3d. The integration test TestPermissionsWarningMessageFormat was expecting write-level permissions in the warning message. Updated it to expect read-level permissions (issues: read, pull-requests: read) to match the new behaviour — repos is now satisfied by the existing contents: read permission.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh gh auth status ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw --gdwarf2 --64 ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw -I /tmp/go-build301/tmp/validate-js-638423657.cjs x_amd64/asm (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq .object.sha ual_fold_amd64.s-errorsas lid_amd64.s x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq .object.sha lang.org/x/crypto/chacha20poly13--gdwarf-5 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq .object.sha /tmp/go-build3011487890/b120/_pkg_.a .cfg 64/pkg/tool/linux_amd64/vet -p compress/flate -lang=go1.25 64/pkg/tool/linux_amd64/vet 1487�� ache/go/1.25.0/x64/src/net 1487890/b172/importcfg 64/pkg/tool/linux_amd64/vet --gdwarf-5 --64 -o 64/pkg/tool/linux_amd64/vet (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha -goversion go1.25.0 -c=4 -race -nolocalimports -importcfg /tmp/go-build3011487890/b201/importcfg ache�� ache/go/1.25.0/x64/src/runtime/c--gdwarf-5 origin 64/pkg/tool/linux_amd64/cgo b3AY/WA8BwQPlULF/opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha 64/src/runtime/r-errorsas --local n-dir/as user.email 1487890/b082/ (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha 64/src/net ache/go/1.25.0/x64/src/os/user 64/pkg/tool/linux_amd64/compile 1487890/b152/ --64 (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v6.0.2
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6.0.2 --jq .object.sha 64/src/runtime/c-p --global ache/uv/0.10.7/x-lang=go1.25 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6.0.2 --jq .object.sha 64/src/runtime/c-p --global 64/pkg/tool/linu-lang=go1.23 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6.0.2 --jq .object.sha 64/src/runtime/c-p --global 64/pkg/tool/linu-lang=go1.24 (http block)
  • https://api.github.com/repos/actions/complex/git/ref/tags/v1
    • Triggering command: /usr/bin/gh gh api /repos/actions/complex/git/ref/tags/v1 --jq .object.sha -goversion go1.25.0 -c=4 -race -nolocalimports -importcfg /tmp/go-build3011487890/b351/importcfg remo�� ache/go/1.25.0/x64/src/runtime/c--gdwarf-5 origin 64/pkg/tool/linux_amd64/compile tcCn/GUjBgjcdHbp/opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/complex/git/ref/tags/v1 --jq .object.sha 64/src/net -I 64/pkg/tool/linux_amd64/compile --gdwarf-5 --64 -o 64/pkg/tool/linux_amd64/compile -I g_.a -I 64/pkg/tool/linux_amd64/vet --gdwarf-5 t -o 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/complex/git/ref/tags/v1 --jq .object.sha -3475051256.cjs 64/pkg/tool/linu-ifaceassert 1/x64/bin/node ache/go/1.25.0/x/opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/vet credential.helpe-unsafeptr=false ache/node/24.13.-unreachable=false git rev-�� --show-toplevel 64/pkg/include x_amd64/compile 64/src/os/user 1487890/b205/imp-V=full x_amd64/cgo x_amd64/compile (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v5 --jq .object.sha 64/src/runtime/r-D --local u/13/cc1 user.email (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v5 --jq .object.sha 64/src/net -I 64/pkg/tool/linux_amd64/compile --gdwarf-5 ut-4267103961.c -o 64/pkg/tool/linux_amd64/compile -I g_.a -I 64/pkg/tool/linux_amd64/vet --gdwarf-5 go-sdk/internal/--norc -o 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v5 --jq .object.sha -2300171103.cjs 64/pkg/tool/linu-ifaceassert 1/x64/bin/node g_.a UL /x86_64-linux-gn-bool git rev-�� --show-toplevel /x86_64-linux-gn-ifaceassert /opt/hostedtoolc-nilfunc 64/src/os/user ache/go/1.25.0/x--norc 64/pkg/tool/linu--noprofile node (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha 64/src/os/user (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha 1487890/b152/_x002.o .cfg 64/pkg/tool/linux_amd64/vet kElopTOS3 runtime/pprof -lang=go1.25 64/pkg/tool/linux_amd64/vet 1487�� ache/go/1.25.0/x64/src/net .cfg 64/pkg/tool/linux_amd64/vet /tmp/go-build301git -imultiarch x86_64-linux-gnu--show-toplevel 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha OPdGFUlPSGlHme3nM1/bHjM68Wy-gctrwbR7eGy/skCXBnPfs1FyWTwA_V6N 1487890/b125/vet.cfg ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet a9RG/qV66u2IerXqnode -I g_.a ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v6.2.0
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6.2.0 --jq .object.sha 8CndGHxAGfwYMBDiOJm_/8CndGHxAGfwYMBDiOJm_ -goversion go1.25.0 -c=4 -race -nolocalimports -importcfg conf�� g_.a --local u/13/cc1 pull.rebase (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6.2.0 --jq .object.sha 64/src/runtime/c-p --global 64/pkg/tool/linu-lang=go1.24 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6.2.0 --jq .object.sha /opt/hostedtoolcache/go/1.25.0/x64/src/runtime/c--gdwarf-5 ortcfg x_amd64/vet --gdwarf-5 --64 (http block)
  • https://api.github.com/repos/actions/setup-python/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-python/git/ref/tags/v5 --jq .object.sha -I /tmp/go-build3011487890/b263/ ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet . --gdwarf2 --64 ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-python/git/ref/tags/v5 --jq .object.sha --show-toplevel x_amd64/vet 64/pkg/tool/linux_amd64/vet 64/src/net -I 64/pkg/tool/linu/tmp/validate-js-49648230.cjs 64/pkg/tool/linux_amd64/vet rev-�� --show-toplevel 64/pkg/tool/linux_amd64/vet 64/pkg/tool/linux_amd64/vet /tmp/go-build301git .cfg 64/pkg/tool/linu--show-toplevel 64/pkg/tool/linux_amd64/vet (http block)
  • https://api.github.com/repos/github/gh-aw
    • Triggering command: /tmp/go-build4256541537/b001/workflow.test /tmp/go-build4256541537/b001/workflow.test -test.testlogfile=/tmp/go-build4256541537/b001/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true /opt/hostedtoolcache/go/1.25.0/x64/src/runtime/c--gdwarf-5 1487890/b152/ x_amd64/vet --gdwarf-5 --64 -o x_amd64/vet 1487�� 64/src/net /libexec/gcc/x86_64-linux-gnu/13github.com/cli/go-gh/v2/pkg/api 64/pkg/tool/linux_amd64/vet s-through=-lgcc s-through=-lgcc_--check s-through=-lpthr/tmp/validate-js-3061962364.cjs 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /tmp/go-build1676367440/b001/workflow.test /tmp/go-build1676367440/b001/workflow.test -test.testlogfile=/tmp/go-build1676367440/b001/testlog.txt -test.paniconexit0 -test.timeout=10m0s /tmp/go-build1634487491/b350/vet.cfg -464845973.cjs -tests /usr/bin/git u/13/liblto_plug/opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/vet _64-linux-gnu/13-unsafeptr=false 64/pkg/tool/linu-unreachable=false git rev-�� --show-toplevel 64/pkg/tool/linu-buildtags repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } s user.email 1487890/b125/ git (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq .object.sha g_.a -fPIC x_amd64/vet fnjK95uXA -Wl,--no-gc-sectrev-parse -fmessage-length--show-toplevel x_amd64/vet @v1.�� 64/src/net -I x_amd64/compile Q2h9Wy-7c --64 E=3 x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq .object.sha ache/go/1.25.0/x64/src/net -trimpath .cfg -p github.com/cli/grev-parse -lang=go1.25 ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq .object.sha g_.a -trimpath ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet -I er -I ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet -W -I /tmp/go-build3011487890/b263/ SHAjwikxl . --gdwarf2 --64 ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet (http block)
  • https://api.github.com/repos/githubnext/this-repo-definitely-does-not-exist-12345
    • Triggering command: /tmp/go-build4256541537/b001/workflow.test /tmp/go-build4256541537/b001/workflow.test -test.testlogfile=/tmp/go-build4256541537/b001/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true /opt/hostedtoolcache/go/1.25.0/x64/src/runtime/c--gdwarf-5 1487890/b152/ x_amd64/vet --gdwarf-5 --64 -o x_amd64/vet 1487�� 64/src/net /libexec/gcc/x86_64-linux-gnu/13github.com/cli/go-gh/v2/pkg/api 64/pkg/tool/linux_amd64/vet s-through=-lgcc s-through=-lgcc_--check s-through=-lpthr/tmp/validate-js-3061962364.cjs 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /tmp/go-build1676367440/b001/workflow.test /tmp/go-build1676367440/b001/workflow.test -test.testlogfile=/tmp/go-build1676367440/b001/testlog.txt -test.paniconexit0 -test.timeout=10m0s /tmp/go-build1634487491/b350/vet.cfg -464845973.cjs -tests /usr/bin/git u/13/liblto_plug/opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/vet _64-linux-gnu/13-unsafeptr=false 64/pkg/tool/linu-unreachable=false git rev-�� --show-toplevel 64/pkg/tool/linu-buildtags repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } s user.email 1487890/b125/ git (http block)

If you need me to access, download, or install something from one of these locations, you can either:

@github-actions
Copy link
Contributor Author

github-actions bot commented Mar 1, 2026

Great work on this PR, @github-actions[bot]! 🤖 The MCP toolsets mapping update to v2.1 is clearly scoped, well-structured, and directly aligned with the project's agentic development model.

Everything checks out cleanly — the file relocation, path reference updates, permission validation fix (limiting collectRequiredPermissions to read_permissions only), and the full test suite coverage across both unit and integration tests are all cohesive parts of a single well-defined change.

This PR looks ready for maintainer review. ✅

Generated by Contribution Check

@pelikhan pelikhan merged commit eee01ed into main Mar 1, 2026
77 checks passed
@pelikhan pelikhan deleted the update-github-mcp-tools-mapping-2026-03-01-c9678bc34863349b branch March 1, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants