fix(git): make project branch workflows reliable (#2213)

This commit is contained in:
thomaspblock
2026-07-21 12:58:39 +02:00
committed by GitHub
parent b2c38c775b
commit 166f27be4b
22 changed files with 604 additions and 124 deletions

View File

@@ -68,6 +68,7 @@ type RawProjectLocalRepository = {
type RawProjectRepoSyncStatus = {
local_path: string | null;
local_branch: string | null;
local_branches: string[];
local_head: string | null;
local_short_head: string | null;
remote_branch: string | null;
@@ -281,6 +282,7 @@ function fromRawProjectRepoSyncStatus(
return {
localPath: status.local_path,
localBranch: status.local_branch,
localBranches: status.local_branches,
localHead: status.local_head,
localShortHead: status.local_short_head,
remoteBranch: status.remote_branch,

View File

@@ -58,6 +58,7 @@ export type ProjectLocalRepository = {
export type ProjectRepoSyncStatus = {
localPath: string | null;
localBranch: string | null;
localBranches: string[];
localHead: string | null;
localShortHead: string | null;
remoteBranch: string | null;