mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-30 00:07:30 +00:00
fix: keep the branch binding in the gitsync-settings override refusal hint
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
fd14fff8ee
commit
1093e4a7fa
@@ -460,7 +460,7 @@ export async function pullGitSyncSettings(
|
||||
if (taken.length > 0) {
|
||||
throw new Error(
|
||||
`No workspace entry in wmill.yaml matches workspace '${workspace.workspaceId}', and git branch '${currentBranch}' is already used by ${taken.join(", ")}. ` +
|
||||
`Name the entry for this workspace '${workspace.workspaceId}' so it can be resolved.`,
|
||||
`Name the entry for this workspace '${workspace.workspaceId}' and keep 'gitBranch: ${currentBranch}' on it so it can be resolved.`,
|
||||
);
|
||||
}
|
||||
overrideTarget = currentBranch;
|
||||
|
||||
Reference in New Issue
Block a user