File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -25508,7 +25508,9 @@ var actionPath = process.env.GITHUB_ACTION_PATH || process.cwd();
2550825508function createMcpConfig(githubInstallationToken) {
2550925509 const githubRepository = process.env.GITHUB_REPOSITORY;
2551025510 if (!githubRepository) {
25511- throw new Error("GITHUB_REPOSITORY environment variable is required for MCP GitHub integration");
25511+ throw new Error(
25512+ "GITHUB_REPOSITORY environment variable is required for MCP GitHub integration"
25513+ );
2551225514 }
2551325515 return JSON.stringify(
2551425516 {
@@ -25518,7 +25520,8 @@ function createMcpConfig(githubInstallationToken) {
2551825520 args: [`${actionPath}/mcp/server.ts`],
2551925521 env: {
2552025522 GITHUB_INSTALLATION_TOKEN: githubInstallationToken,
25521- GITHUB_REPOSITORY: githubRepository
25523+ GITHUB_REPOSITORY: githubRepository,
25524+ LOG_LEVEL: "debug"
2552225525 }
2552325526 }
2552425527 }
Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ const actionPath = process.env.GITHUB_ACTION_PATH || process.cwd();
66export function createMcpConfig ( githubInstallationToken : string ) {
77 const githubRepository = process . env . GITHUB_REPOSITORY ;
88 if ( ! githubRepository ) {
9- throw new Error ( 'GITHUB_REPOSITORY environment variable is required for MCP GitHub integration' ) ;
9+ throw new Error (
10+ "GITHUB_REPOSITORY environment variable is required for MCP GitHub integration"
11+ ) ;
1012 }
1113
1214 return JSON . stringify (
@@ -18,6 +20,7 @@ export function createMcpConfig(githubInstallationToken: string) {
1820 env : {
1921 GITHUB_INSTALLATION_TOKEN : githubInstallationToken ,
2022 GITHUB_REPOSITORY : githubRepository ,
23+ LOG_LEVEL : "debug" ,
2124 } ,
2225 } ,
2326 } ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @pullfrog/action" ,
3- "version" : " 0.0.20 " ,
3+ "version" : " 0.0.21 " ,
44 "type" : " module" ,
55 "files" : [
66 " index.js" ,
You can’t perform that action at this time.
0 commit comments