mirror of
https://github.com/morluto/rea.git
synced 2026-11-22 14:35:45 +00:00
* ci(release): require full qualification before tagging * ci(release): preserve unpublished versions and verify npm before tagging * test(release): exercise publication gates on both release routes * fix(release): fetch the live main checkpoint before verifying it * fix(release): constrain GitHub requests and workflow output * fix(release): honor GitHub label and recovery API contracts
29 lines
539 B
TypeScript
29 lines
539 B
TypeScript
export function selectRecoveryRelease(input: {
|
|
repository: string;
|
|
version: string;
|
|
run: unknown;
|
|
jobs: unknown;
|
|
release?: unknown;
|
|
tagSha?: string;
|
|
}): {
|
|
version: string;
|
|
source_sha: string;
|
|
run_id: number;
|
|
run_attempt: number;
|
|
};
|
|
|
|
export function verifyRecoveryPackage(input: {
|
|
directory: string;
|
|
sourceSha: string;
|
|
runId: number;
|
|
runAttempt: number;
|
|
version: string;
|
|
integrity: string;
|
|
}): Promise<{
|
|
version: string;
|
|
sourceSha: string;
|
|
runId: number;
|
|
runAttempt: number;
|
|
integrity: string;
|
|
}>;
|