mirror of
https://github.com/morluto/rea.git
synced 2026-11-12 17:59:08 +00:00
25 lines
742 B
TypeScript
25 lines
742 B
TypeScript
export function applyReleasePleasePatch(directory?: string): Promise<void>;
|
|
|
|
export function describeReleaseProposalError(error: unknown): string;
|
|
|
|
export function releaseProposalSearchDepth(
|
|
run: (command: string, args: string[]) => Promise<string>,
|
|
sourceSha: string,
|
|
): Promise<number>;
|
|
|
|
export function createReleaseProposal<T>(
|
|
run: (command: string, args: string[]) => Promise<string>,
|
|
context: {
|
|
repository: string;
|
|
sourceSha: string;
|
|
targetBranch: string;
|
|
eventName: string | undefined;
|
|
},
|
|
loadManifest: (depth: number) => Promise<{
|
|
createPullRequests(): Promise<Array<T | undefined>>;
|
|
}>,
|
|
): Promise<
|
|
| { kind: "release-merge"; pullRequest: number }
|
|
| { kind: "proposal"; pullRequests: T[] }
|
|
>;
|