1 write to User
Microsoft.DotNet.VersionTools (1)
Automation\GitHubAuth.cs (1)
24
User
= user ?? "dotnet-bot";
5 references to User
Microsoft.DotNet.VersionTools (5)
Automation\GitHubApi\GitHubClient.cs (3)
58
_httpClient.DefaultRequestHeaders.Add("User-Agent", auth?.
User
?? DefaultUserAgent);
133
name = Auth.
User
,
418
public Task<string> GetMyAuthorIdAsync() => Task.FromResult(Auth.
User
);
Automation\PullRequestCreator.cs (2)
34
GitAuthorName = gitAuthorName ?? auth.
User
;
262
$"https://{_auth.
User
}:{_auth.AuthToken}@{remoteUrl}",