We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6037d75 commit e07ea01Copy full SHA for e07ea01
src/mcp/install-mcp-server.ts
@@ -1,5 +1,5 @@
1
import * as core from "@actions/core";
2
-import { GITHUB_API_URL } from "../github/api/config";
+import { GITHUB_API_URL, GITHUB_SERVER_URL } from "../github/api/config";
3
import type { ParsedGitHubContext } from "../github/context";
4
import { Octokit } from "@octokit/rest";
5
@@ -157,9 +157,12 @@ export async function prepareMcpConfig(
157
"-e",
158
"GITHUB_PERSONAL_ACCESS_TOKEN",
159
"ghcr.io/github/github-mcp-server:sha-efef8ae", // https://github.com/github/github-mcp-server/releases/tag/v0.9.0
160
+ "-e",
161
+ "GITHUB_HOST",
162
],
163
env: {
164
GITHUB_PERSONAL_ACCESS_TOKEN: githubToken,
165
+ GITHUB_HOST: GITHUB_SERVER_URL,
166
},
167
};
168
}
0 commit comments