Skip to content

Commit

Permalink
Use GitHubOwner for actor
Browse files Browse the repository at this point in the history
  • Loading branch information
valadas committed Jul 8, 2024
1 parent 4780f00 commit bb40670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class Build : NukeBuild
Target SetupGithubActor => _ => _
.Executes(() =>
{
var actor = Environment.GetEnvironmentVariable("GITHUB_ACTOR");
var actor = GitRepository.GetGitHubOwner();
Git($"config --global user.name '{actor}'");
Git($"config --global user.email '{actor}@github.com'");
if (IsServerBuild)
Expand Down

0 comments on commit bb40670

Please sign in to comment.