Skip to content

Commit 13ee2b3

Browse files
Changed detached head branch name
1 parent fd0ef61 commit 13ee2b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tracer/src/Datadog.Trace/Ci/IntelligentTestRunnerClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,7 @@ private string GetBranchName()
12751275
if (string.IsNullOrEmpty(res))
12761276
{
12771277
Log.Warning("ITR: empty branch indicates a detached head at commit {Commit}", _commitSha);
1278-
res = $"detached-at-{_commitSha}";
1278+
res = $"auto:git-detached-head";
12791279
}
12801280

12811281
return res;

tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/CI/TestingFrameworkImpactedTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ private void InitGit()
257257
baseSha = output.Output.Trim();
258258
if (string.IsNullOrEmpty(branch))
259259
{
260-
branch = $"detached-at-{baseSha}";
260+
branch = $"auto:git-detached-head";
261261
}
262262
}
263263
}

0 commit comments

Comments
 (0)