consolidate checkout status handling and improve git detection
This commit is contained in:
@@ -15,6 +15,9 @@ export function deriveBranchLabel(
|
||||
if (!currentBranch) {
|
||||
return null;
|
||||
}
|
||||
if (currentBranch === "HEAD") {
|
||||
return null;
|
||||
}
|
||||
if (baseRef && currentBranch === baseRef) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user