Clean up instructions

This commit is contained in:
Colin McDonnell
2025-12-16 21:08:10 -08:00
parent efeffcaef9
commit 36d249908e
4 changed files with 45 additions and 52 deletions
+4 -4
View File
@@ -41,16 +41,16 @@ export function buildPullfrogFooter(params: BuildPullfrogFooterParams): string {
parts.push(`Using [${params.agent.displayName}](${params.agent.url})`);
}
if (params.customParts) {
parts.push(...params.customParts);
}
if (params.workflowRun) {
const baseUrl = `https://github.com/${params.workflowRun.owner}/${params.workflowRun.repo}/actions/runs/${params.workflowRun.runId}`;
const url = params.workflowRun.jobId ? `${baseUrl}/job/${params.workflowRun.jobId}` : baseUrl;
parts.push(`[View workflow run](${url})`);
}
if (params.customParts) {
parts.push(...params.customParts);
}
const allParts = [
...parts,
"[pullfrog.com](https://pullfrog.com)",