Skip to content

Commit 112698a

Browse files
authored
Merge branch 'main' into github-mcp-server-ratelimit
2 parents edbbca3 + ea9d0c8 commit 112698a

89 files changed

Lines changed: 3981 additions & 496 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/code-scanning.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080

8181
- name: Set up Node.js
8282
if: matrix.language == 'go' || matrix.language == 'javascript'
83-
uses: actions/setup-node@v4
83+
uses: actions/setup-node@v6
8484
with:
8585
node-version: "20"
8686
cache: "npm"

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
# https://github.com/sigstore/cosign-installer
4747
- name: Install cosign
4848
if: github.event_name != 'pull_request'
49-
uses: sigstore/cosign-installer@ba7bc0a3fef59531c69a25acd34668d6d3fe6f22 #v4.1.0
49+
uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 #v4.1.2
5050
with:
5151
cosign-release: "v2.2.4"
5252

@@ -60,7 +60,7 @@ jobs:
6060
# https://github.com/docker/login-action
6161
- name: Log into registry ${{ env.REGISTRY }}
6262
if: github.event_name != 'pull_request'
63-
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
63+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
6464
with:
6565
registry: ${{ env.REGISTRY }}
6666
username: ${{ github.actor }}

.github/workflows/docs-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v6
1818

1919
- name: Set up Node.js
20-
uses: actions/setup-node@v4
20+
uses: actions/setup-node@v6
2121
with:
2222
node-version: "20"
2323
cache: "npm"

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/checkout@v6
2727

2828
- name: Set up Node.js
29-
uses: actions/setup-node@v4
29+
uses: actions/setup-node@v6
3030
with:
3131
node-version: "20"
3232
cache: "npm"

.github/workflows/goreleaser.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v6
1818

1919
- name: Set up Node.js
20-
uses: actions/setup-node@v4
20+
uses: actions/setup-node@v6
2121
with:
2222
node-version: "20"
2323
cache: "npm"
@@ -35,7 +35,7 @@ jobs:
3535
run: go mod download
3636

3737
- name: Run GoReleaser
38-
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a
38+
uses: goreleaser/goreleaser-action@1a80836c5c9d9e5755a25cb59ec6f45a3b5f41a8
3939
with:
4040
distribution: goreleaser
4141
# GoReleaser version
@@ -47,7 +47,7 @@ jobs:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4848

4949
- name: Generate signed build provenance attestations for workflow artifacts
50-
uses: actions/attest-build-provenance@v3
50+
uses: actions/attest-build-provenance@v4
5151
with:
5252
subject-path: |
5353
dist/*.tar.gz

.github/workflows/license-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: gh pr checkout ${{ github.event.pull_request.number }}
3434

3535
- name: Set up Node.js
36-
uses: actions/setup-node@v4
36+
uses: actions/setup-node@v6
3737
with:
3838
node-version: "20"
3939
cache: "npm"

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v6
17-
- uses: actions/setup-node@v4
17+
- uses: actions/setup-node@v6
1818
with:
1919
node-version: "20"
2020
cache: "npm"

.github/workflows/mcp-diff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fetch-depth: 0
2121

2222
- name: Set up Node.js
23-
uses: actions/setup-node@v4
23+
uses: actions/setup-node@v6
2424
with:
2525
node-version: '20'
2626

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20-alpine@sha256:09e2b3d9726018aecf269bd35325f46bf75046a643a66d28360ec71132750ec8 AS ui-build
1+
FROM node:26-alpine@sha256:e71ac5e964b9201072425d59d2e876359efa25dc96bb1768cb73295728d6e4ea AS ui-build
22
WORKDIR /app
33
COPY ui/package*.json ./ui/
44
RUN cd ui && npm ci
@@ -7,7 +7,7 @@ COPY ui/ ./ui/
77
RUN mkdir -p ./pkg/github/ui_dist && \
88
cd ui && npm run build
99

10-
FROM golang:1.25.9-alpine@sha256:5caaf1cca9dc351e13deafbc3879fd4754801acba8653fa9540cea125d01a71f AS build
10+
FROM golang:1.25.10-alpine@sha256:8d22e29d960bc50cd025d93d5b7c7d220b1ee9aa7a239b3c8f55a57e987e8d45 AS build
1111
ARG VERSION="dev"
1212

1313
# Set the working directory

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,23 @@ The following sets of tools are available:
730730

731731
<summary><picture><source media="(prefers-color-scheme: dark)" srcset="pkg/octicons/icons/comment-discussion-dark.png"><source media="(prefers-color-scheme: light)" srcset="pkg/octicons/icons/comment-discussion-light.png"><img src="pkg/octicons/icons/comment-discussion-light.png" width="20" height="20" alt="comment-discussion"></picture> Discussions</summary>
732732

733+
- **discussion_comment_write** - Manage discussion comments
734+
- **Required OAuth Scopes**: `repo`
735+
- `body`: Comment content (required for 'add', 'reply', and 'update' methods) (string, optional)
736+
- `commentNodeID`: The Node ID of the discussion comment (required for 'reply', 'update', 'delete', 'mark_answer', and 'unmark_answer' methods). For 'reply', this is the top-level comment to reply to; GitHub Discussions only support one level of nesting. (string, optional)
737+
- `discussionNumber`: Discussion number (required for 'add' and 'reply' methods) (number, optional)
738+
- `method`: Write operation to perform on a discussion comment.
739+
Options are:
740+
- 'add' - adds a new top-level comment to a discussion.
741+
- 'reply' - replies to a top-level discussion comment (GitHub Discussions only support one level of nesting).
742+
- 'update' - updates an existing discussion comment.
743+
- 'delete' - deletes a discussion comment.
744+
- 'mark_answer' - marks a discussion comment as the answer (Q&A only).
745+
- 'unmark_answer' - unmarks a discussion comment as the answer (Q&A only).
746+
(string, required)
747+
- `owner`: Repository owner (required for 'add' and 'reply' methods) (string, optional)
748+
- `repo`: Repository name (required for 'add' and 'reply' methods) (string, optional)
749+
733750
- **get_discussion** - Get discussion
734751
- **Required OAuth Scopes**: `repo`
735752
- `discussionNumber`: Discussion Number (number, required)
@@ -740,6 +757,7 @@ The following sets of tools are available:
740757
- **Required OAuth Scopes**: `repo`
741758
- `after`: Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs. (string, optional)
742759
- `discussionNumber`: Discussion Number (number, required)
760+
- `includeReplies`: When true, each top-level comment will include its replies nested within it (up to 100 replies per comment, which is the GitHub API maximum). Defaults to false. (boolean, optional)
743761
- `owner`: Repository owner (string, required)
744762
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
745763
- `repo`: Repository name (string, required)
@@ -1100,7 +1118,7 @@ The following sets of tools are available:
11001118
3. get_status - Get combined commit status of a head commit in a pull request.
11011119
4. get_files - Get the list of files changed in a pull request. Use with pagination parameters to control the number of results returned.
11021120
5. get_review_comments - Get review threads on a pull request. Each thread contains logically grouped review comments made on the same code location during pull request reviews. Returns threads with metadata (isResolved, isOutdated, isCollapsed) and their associated comments. Use cursor-based pagination (perPage, after) to control results.
1103-
6. get_reviews - Get the reviews on a pull request. When asked for review comments, use get_review_comments method.
1121+
6. get_reviews - Get the reviews on a pull request. When asked for review comments, use get_review_comments method. Use with pagination parameters to control the number of results returned.
11041122
7. get_comments - Get comments on a pull request. Use this if user doesn't specifically want review comments. Use with pagination parameters to control the number of results returned.
11051123
8. get_check_runs - Get check runs for the head commit of a pull request. Check runs are the individual CI/CD jobs and checks that run on the PR.
11061124
(string, required)
@@ -1256,6 +1274,14 @@ The following sets of tools are available:
12561274
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
12571275
- `repo`: Repository name (string, required)
12581276

1277+
- **list_repository_collaborators** - List repository collaborators
1278+
- **Required OAuth Scopes**: `repo`
1279+
- `affiliation`: Filter by affiliation. Can be one of: 'outside' (outside collaborators), 'direct' (all with permissions regardless of org membership), 'all' (all collaborators). Default: 'all' (string, optional)
1280+
- `owner`: Repository owner (string, required)
1281+
- `page`: Page number for pagination (default 1, min 1) (number, optional)
1282+
- `perPage`: Results per page for pagination (default 30, min 1, max 100) (number, optional)
1283+
- `repo`: Repository name (string, required)
1284+
12591285
- **list_tags** - List tags
12601286
- **Required OAuth Scopes**: `repo`
12611287
- `owner`: Repository owner (string, required)
@@ -1413,6 +1439,11 @@ The following sets of tools are available:
14131439

14141440
<summary>Copilot Spaces</summary>
14151441

1442+
- **Authentication note**
1443+
- Fine-grained PATs are not hidden by classic PAT scope filtering, so these tools may still appear even when the token cannot use them.
1444+
- For org-owned spaces, fine-grained PATs must be installed on the owning organization and include `organization_copilot_spaces: read`.
1445+
- If an org-owned space contains repository-backed resources, the token must also have access to every referenced repository or the space may be treated as not found.
1446+
14161447
- **get_copilot_space** - Get Copilot Space
14171448
- `owner`: The owner of the space. (string, required)
14181449
- `name`: The name of the space. (string, required)

0 commit comments

Comments
 (0)