fix(agentrun): accept yaml lane pipelinerun status
This commit is contained in:
@@ -338,7 +338,7 @@ export function isCaptureResult(value: unknown): value is SshCaptureResult {
|
||||
}
|
||||
|
||||
export function isAgentRunPipelineRunName(value: string): boolean {
|
||||
return /^agentrun-v[0-9]+-ci-[0-9a-f]{12,40}(?:-[a-z0-9-]+)?$/u.test(value);
|
||||
return /^agentrun-[a-z0-9-]*ci-[0-9a-f]{12,40}(?:-[a-z0-9-]+)?$/u.test(value);
|
||||
}
|
||||
|
||||
export function captureJsonPayload(result: SshCaptureResult): Record<string, unknown> {
|
||||
|
||||
Reference in New Issue
Block a user