Function finalize

  • Finalize pending builds.

    Parameters

    Returns Promise<{
        builds: {
            id: string;
            notification: null | {
                context: string;
                description: string;
                github: {
                    state:
                        | "pending"
                        | "error"
                        | "success"
                        | "failure";
                };
                gitlab: {
                    state:
                        | "pending"
                        | "success"
                        | "running"
                        | "failed"
                        | "canceled";
                };
            };
            number: number;
            status:
                | "accepted"
                | "rejected"
                | "stable"
                | "diffDetected"
                | "expired"
                | "pending"
                | "progress"
                | "error"
                | "aborted";
            url: string;
        }[];
    }>