connect tailscale node status through platform gateway
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-07-08 18:13:55 +09:00
parent c71c25016e
commit ecbf57d978
4 changed files with 18 additions and 16 deletions
+3 -2
View File
@@ -7,10 +7,11 @@ export type CommonAppPipeline = {
branch: string;
status: string;
createdAt: number;
ciUrl?: string | null;
url?: string | null;
};
export function listCommonAppPipelines() {
return apiRequest<{ repos?: CommonAppPipeline[] }>('/woodpecker/repos')
.then((result) => result.repos ?? []);
return apiRequest<{ repos?: CommonAppPipeline[]; baseUrl?: string | null }>('/woodpecker/repos')
.then((result) => (result.repos ?? []).map((repo) => ({ ...repo, ciUrl: repo.ciUrl ?? result.baseUrl ?? null })));
}