mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-22 23:01:11 +00:00
* fix(release): harden validation orchestration * fix(ci): repair release gate regressions * docs(agents): record PR review guard mode * test(ci): stabilize release gate coverage * refactor(agents): remove session factory test export
35 lines
984 B
TypeScript
35 lines
984 B
TypeScript
#!/usr/bin/env node
|
|
export function parseArgs(argv: unknown): {
|
|
sha: string;
|
|
targetRef: string;
|
|
workflowSha: string;
|
|
keepBranch: boolean;
|
|
dryRun: boolean;
|
|
inputs: {
|
|
provider: string;
|
|
mode: string;
|
|
release_profile?: string;
|
|
rerun_group: string;
|
|
reuse_evidence: string;
|
|
};
|
|
};
|
|
export function releaseProfileForTarget(
|
|
targetSha: string,
|
|
readPackageJson?: (sha: string) => string,
|
|
): "beta" | "stable";
|
|
export function releaseEvidenceVerificationArgs(parentRunId: unknown): string[];
|
|
export function releaseEvidenceVerifierPath(worktreeRoot: unknown): string;
|
|
export function resolveRemoteTargetRefSha(
|
|
targetRef: string,
|
|
executeGit?: (args: string[]) => string,
|
|
): string;
|
|
export type WorkflowRunCheckSuite = {
|
|
status?: string;
|
|
conclusion?: string | null;
|
|
workflowRun?: { url?: string } | null;
|
|
};
|
|
export function selectWorkflowRunCheckSuite(
|
|
nodes: WorkflowRunCheckSuite[],
|
|
parentRunId: unknown,
|
|
): WorkflowRunCheckSuite | undefined;
|