simplify initialization

This commit is contained in:
Colin McDonnell
2025-11-26 10:23:27 -08:00
parent 4ff547f673
commit c8cbda6972
4 changed files with 24 additions and 32 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ function buildCommentFooter(payload: Payload): string {
const agentDisplayName = agentInfo?.displayName || "Unknown Agent";
const agentUrl = agentInfo?.url || "https://pullfrog.ai";
// build workflow run URL
// build workflow run URL: https://github.com/{owner}/{repo}/actions/runs/{runId}
const workflowRunUrl = runId
? `https://github.com/${repoContext.owner}/${repoContext.name}/actions/runs/${runId}`
: `https://github.com/${repoContext.owner}/${repoContext.name}`;
+1
View File
@@ -34,6 +34,7 @@ export function createMcpConfigs(
};
// pass through GITHUB_RUN_ID if available (automatically set in GitHub Actions)
// this is used to build the "View workflow run" link in comments
if (process.env.GITHUB_RUN_ID) {
env.GITHUB_RUN_ID = process.env.GITHUB_RUN_ID;
}