mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-22 12:01:12 +00:00
* ci: enforce max-lines suppression ratchet * chore: prune stale max-lines suppression * fix: close max-lines ratchet enforcement gaps * fix: harden max-lines ratchet checks * fix(ci): satisfy max-lines ratchet checks * style: format max-lines declarations * fix(ci): match oxlint suppression grammar * test: isolate max-lines git fixtures * chore: prune resolved max-lines debt * test: skip newline path fixture on Windows * fix: harden max-lines suppression ratchet * chore: refresh max-lines baseline * fix: close max-lines ratchet bypasses * fix: derive ratchet base from PR merge tree * fix: support older Git in staged ratchet * fix: align max-lines declarations and baseline * chore: refresh max-lines baseline for current main * fix: exclude generated wizard locales from max-lines * chore: prune resolved max-lines debt
50 lines
1.3 KiB
TypeScript
50 lines
1.3 KiB
TypeScript
export type ChangedScope = {
|
|
runNode: boolean;
|
|
runMacos: boolean;
|
|
runIosBuild: boolean;
|
|
runAndroid: boolean;
|
|
runWindows: boolean;
|
|
runSkillsPython: boolean;
|
|
runChangedSmoke: boolean;
|
|
runControlUiI18n: boolean;
|
|
runUiTests: boolean;
|
|
};
|
|
|
|
export type InstallSmokeScope = {
|
|
runFastInstallSmoke: boolean;
|
|
runFullInstallSmoke: boolean;
|
|
};
|
|
|
|
export type NodeFastScope = {
|
|
runFastOnly: boolean;
|
|
runPluginContracts: boolean;
|
|
runCiRouting: boolean;
|
|
};
|
|
|
|
export type ChangedScopeArgs = {
|
|
base: string;
|
|
head: string;
|
|
mergeHeadFirstParent: boolean;
|
|
};
|
|
|
|
export function detectChangedScope(changedPaths: string[]): ChangedScope;
|
|
export function shouldRunNativeI18n(changedPaths: string[]): boolean;
|
|
export function detectNodeFastScope(changedPaths: string[]): NodeFastScope;
|
|
export function detectInstallSmokeScope(changedPaths: string[]): InstallSmokeScope;
|
|
export function listChangedPaths(
|
|
base: string,
|
|
head?: string,
|
|
cwd?: string,
|
|
preferMergeHeadFirstParent?: boolean,
|
|
): string[];
|
|
export function writeGitHubOutput(
|
|
scope: ChangedScope,
|
|
outputPath?: string,
|
|
installSmokeScope?: InstallSmokeScope,
|
|
nodeFastScope?: NodeFastScope,
|
|
runNativeI18n?: boolean,
|
|
changedPaths?: string[] | null,
|
|
): void;
|
|
|
|
export function parseArgs(argv: string[]): ChangedScopeArgs;
|