mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-23 06:54:13 +08:00
only install comment server in tag mode
This commit is contained in:
@@ -73,6 +73,7 @@ export async function prepareMcpConfig(
|
||||
};
|
||||
|
||||
// Always include comment server for updating Claude comments
|
||||
if (context.inputs.mode === "tag") {
|
||||
baseMcpConfig.mcpServers.github_comment = {
|
||||
command: "bun",
|
||||
args: [
|
||||
@@ -88,6 +89,7 @@ export async function prepareMcpConfig(
|
||||
GITHUB_API_URL: GITHUB_API_URL,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
// Include file ops server when commit signing is enabled
|
||||
if (context.inputs.useCommitSigning) {
|
||||
|
||||
Reference in New Issue
Block a user