fix: move origin URL auth setup before git fetch in setupGit

This commit is contained in:
Colin McDonnell
2025-12-16 16:49:05 -08:00
parent 012397b3c4
commit db68424ffc
7 changed files with 8175 additions and 7254 deletions
+4 -3
View File
@@ -11,6 +11,8 @@ export interface WorkflowRunInfo {
owner: string;
repo: string;
runId: string;
/** optional job URL - if provided, will be used instead of building from runId */
htmlUrl?: string;
}
export interface BuildPullfrogFooterParams {
@@ -40,9 +42,8 @@ export function buildPullfrogFooter(params: BuildPullfrogFooterParams): string {
}
if (params.workflowRun) {
parts.push(
`[View workflow run](https://github.com/${params.workflowRun.owner}/${params.workflowRun.repo}/actions/runs/${params.workflowRun.runId})`
);
const url = params.workflowRun.htmlUrl ?? `https://github.com/${params.workflowRun.owner}/${params.workflowRun.repo}/actions/runs/${params.workflowRun.runId}`;
parts.push(`[View workflow run](${url})`);
}
if (params.customParts) {