add schedule & workflow dispatch paths. Also make prepare logic conditional

This commit is contained in:
km-anthropic
2025-07-28 11:28:06 -07:00
parent a53ce607e4
commit 999dd8a3b6
13 changed files with 479 additions and 90 deletions

View File

@@ -141,7 +141,7 @@ export async function prepareMcpConfig(
GITHUB_TOKEN: process.env.ACTIONS_TOKEN,
REPO_OWNER: owner,
REPO_NAME: repo,
PR_NUMBER: context.entityNumber.toString(),
PR_NUMBER: context.entityNumber?.toString() || "",
RUNNER_TEMP: process.env.RUNNER_TEMP || "/tmp",
},
};