We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82b7899 commit ac95db1Copy full SHA for ac95db1
src/Elastic.Markdown/IO/GitConfiguration.cs
@@ -50,7 +50,8 @@ public static GitConfiguration Create(IFileSystem fileSystem)
50
remote = BranchTrackingRemote("main", config);
51
if (string.IsNullOrEmpty(remote))
52
remote = BranchTrackingRemote("master", config);
53
-
+ if (string.IsNullOrEmpty(remote))
54
+ remote = Environment.GetEnvironmentVariable("GITHUB_REPOSITORY") ?? "elastic/docs-builder-unknown";
55
56
return new GitConfiguration { Ref = gitRef, Branch = branch, Remote = remote };
57
0 commit comments