Skip to content

Commit 94b9e56

Browse files
authored
Merge branch 'main' into stephenotalora/mcp-server-latest-api-updates
2 parents a5a9a26 + bd12537 commit 94b9e56

File tree

6 files changed

+15
-12
lines changed

6 files changed

+15
-12
lines changed

.github/workflows/close-inactive-issues.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ jobs:
77
close-issues:
88
runs-on: ubuntu-latest
99
env:
10-
PR_DAYS_BEFORE_STALE: 60
11-
PR_DAYS_BEFORE_CLOSE: 120
10+
PR_DAYS_BEFORE_STALE: 30
11+
PR_DAYS_BEFORE_CLOSE: 60
1212
PR_STALE_LABEL: stale
1313
permissions:
1414
issues: write
@@ -21,8 +21,8 @@ jobs:
2121
stale-issue-label: ${{ env.PR_STALE_LABEL }}
2222
stale-issue-message: "This issue is stale because it has been open for ${{ env.PR_DAYS_BEFORE_STALE }} days with no activity. Leave a comment to avoid closing this issue in ${{ env.PR_DAYS_BEFORE_CLOSE }} days."
2323
close-issue-message: "This issue was closed because it has been inactive for ${{ env.PR_DAYS_BEFORE_CLOSE }} days since being marked as stale."
24-
days-before-pr-stale: -1
25-
days-before-pr-close: -1
24+
days-before-pr-stale: ${{ env.PR_DAYS_BEFORE_STALE }}
25+
days-before-pr-close: ${{ env.PR_DAYS_BEFORE_STALE }}
2626
# Start with the oldest items first
2727
ascending: true
2828
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
- name: golangci-lint
2121
uses: golangci/golangci-lint-action@v8
2222
with:
23-
version: v2.1
23+
version: v2.5

.github/workflows/registry-releaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
if [[ "${{ github.ref_type }}" == "tag" ]]; then
3535
TAG="${{ github.ref_name }}"
3636
else
37-
TAG=$(git tag --sort=-version:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+' | head -n1)
37+
TAG=$(git tag --sort=-version:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | head -n1)
3838
fi
3939
IMAGE="ghcr.io/github/github-mcp-server:$TAG"
4040
@@ -59,7 +59,7 @@ jobs:
5959
if [[ "${{ github.ref_type }}" == "tag" ]]; then
6060
TAG_VERSION=$(echo "${{ github.ref_name }}" | sed 's/^v//')
6161
else
62-
LATEST_TAG=$(git tag --sort=-version:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+(-.*)?$' | head -n 1)
62+
LATEST_TAG=$(git tag --sort=-version:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | head -n 1)
6363
[ -z "$LATEST_TAG" ] && { echo "No release tag found"; exit 1; }
6464
TAG_VERSION=$(echo "$LATEST_TAG" | sed 's/^v//')
6565
echo "Using latest tag: $LATEST_TAG"

.golangci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ linters:
1111
- misspell
1212
- nakedret
1313
- revive
14+
- errcheck
15+
- staticcheck
16+
- govet
17+
- ineffassign
18+
- unused
1419
exclusions:
1520
generated: lax
1621
presets:

script/lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ gofmt -s -w .
55

66
BINDIR="$(git rev-parse --show-toplevel)"/bin
77
BINARY=$BINDIR/golangci-lint
8-
GOLANGCI_LINT_VERSION=v2.2.1
8+
GOLANGCI_LINT_VERSION=v2.5.0
99

1010
if [ ! -f "$BINARY" ]; then
1111
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s "$GOLANGCI_LINT_VERSION"

server.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
33
"name": "io.github.github/github-mcp-server",
44
"description": "Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.",
55
"status": "active",
@@ -11,9 +11,7 @@
1111
"packages": [
1212
{
1313
"registryType": "oci",
14-
"registryBaseUrl": "https://ghcr.io",
15-
"identifier": "github/github-mcp-server",
16-
"version": "${VERSION}",
14+
"identifier": "ghcr.io/github/github-mcp-server:${VERSION}",
1715
"transport": {
1816
"type": "stdio"
1917
},

0 commit comments

Comments
 (0)