diff --git a/entry.cjs b/entry.cjs index f236eea..0e062ad 100755 --- a/entry.cjs +++ b/entry.cjs @@ -25508,7 +25508,9 @@ var actionPath = process.env.GITHUB_ACTION_PATH || process.cwd(); function createMcpConfig(githubInstallationToken) { const githubRepository = process.env.GITHUB_REPOSITORY; if (!githubRepository) { - throw new Error("GITHUB_REPOSITORY environment variable is required for MCP GitHub integration"); + throw new Error( + "GITHUB_REPOSITORY environment variable is required for MCP GitHub integration" + ); } return JSON.stringify( { @@ -25518,7 +25520,8 @@ function createMcpConfig(githubInstallationToken) { args: [`${actionPath}/mcp/server.ts`], env: { GITHUB_INSTALLATION_TOKEN: githubInstallationToken, - GITHUB_REPOSITORY: githubRepository + GITHUB_REPOSITORY: githubRepository, + LOG_LEVEL: "debug" } } } diff --git a/mcp/config.ts b/mcp/config.ts index 6d64471..141d68f 100644 --- a/mcp/config.ts +++ b/mcp/config.ts @@ -6,7 +6,9 @@ const actionPath = process.env.GITHUB_ACTION_PATH || process.cwd(); export function createMcpConfig(githubInstallationToken: string) { const githubRepository = process.env.GITHUB_REPOSITORY; if (!githubRepository) { - throw new Error('GITHUB_REPOSITORY environment variable is required for MCP GitHub integration'); + throw new Error( + "GITHUB_REPOSITORY environment variable is required for MCP GitHub integration" + ); } return JSON.stringify( @@ -18,6 +20,7 @@ export function createMcpConfig(githubInstallationToken: string) { env: { GITHUB_INSTALLATION_TOKEN: githubInstallationToken, GITHUB_REPOSITORY: githubRepository, + LOG_LEVEL: "debug", }, }, }, diff --git a/package.json b/package.json index acec421..0ffd0be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pullfrog/action", - "version": "0.0.20", + "version": "0.0.21", "type": "module", "files": [ "index.js",