From 1143cb1bee0a03d8762e34e4e4d75742f78163e1 Mon Sep 17 00:00:00 2001 From: Sam Morrow Date: Thu, 19 Nov 2026 21:26:18 +0300 Subject: [PATCH] build: align go.mod and docs with Go 1.27.4 Follow-up to #3897, which only bumped the Dockerfile base image. CI and goreleaser read go-version-file: go.mod, so release binaries were still built with 1.27.3, missing the 1.27.4 security fixes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/copilot-instructions.md | 6 +++--- CONTRIBUTING.md | 2 +- go.mod | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index eef49a72a4..42837f9e38 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -5,7 +5,7 @@ This is the **GitHub MCP Server**, a Model Context Protocol (MCP) server that connects AI tools to GitHub's platform. It enables AI agents to manage repositories, issues, pull requests, workflows, and more through natural language. **Key Details:** -- **Language:** Go 1.27.3+ (~38k lines of code) +- **Language:** Go 1.27.4+ (~38k lines of code) - **Type:** MCP server application with CLI interface - **Primary Package:** github-mcp-server (stdio MCP server - **this is the main focus**) - **Secondary Package:** mcpcurl (testing utility - don't break it, but not the priority) @@ -91,9 +91,9 @@ go test ./pkg/github -run TestGetMe ### Key Configuration Files -- **go.mod / go.sum:** Go module dependencies (Go 1.27.3+) +- **go.mod / go.sum:** Go module dependencies (Go 1.27.4+) - **.golangci.yml:** Linter configuration (v2 format, ~15 linters enabled) -- **Dockerfile:** Multi-stage build (golang:1.27.3-alpine → distroless) +- **Dockerfile:** Multi-stage build (golang:1.27.4-alpine → distroless) - **server.json:** MCP server metadata for registry - **.goreleaser.yaml:** Release automation config - **.gitignore:** Excludes bin/, dist/, vendor/, *.DS_Store, github-mcp-server binary diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 86a8cf3740..4eb83db2b2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -26,7 +26,7 @@ Thanks for contributing and for helping us build toolsets that are truly valuabl These are one time installations required to be able to test your changes locally as part of the pull request (PR) submission process. -1. Install Go 1.27.3 or later [through download](https://go.dev/doc/install) | [through Homebrew](https://formulae.brew.sh/formula/go) +1. Install Go 1.27.4 or later [through download](https://go.dev/doc/install) | [through Homebrew](https://formulae.brew.sh/formula/go) 2. [Install golangci-lint v2.14.0](https://golangci-lint.run/welcome/install/#local-installation), or let `script/lint` install the repository-pinned version. The pinned version supports both Go 1.26 and Go 1.27. ### UI development diff --git a/go.mod b/go.mod index 3628486b96..3abfbc3428 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/github/github-mcp-server/v2 -go 1.27.3 +go 1.27.4 require ( github.com/go-chi/chi/v5 v5.4.0