Skip to content

Commit 0727530

Browse files
🩹 [Patch]: Add GitConfig output to workflow for user name and email
1 parent 0959bd8 commit 0727530

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/TestWorkflow.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ jobs:
104104
Set-GitHubOutput -Name 'Context' -Value (Get-GitHubContext)
105105
}
106106
107+
LogGroup 'Set outputs - GitConfig' {
108+
Set-GitHubOutput -Name 'GitConfig' -Value (Get-GitHubGitConfig | Select-Object -Property 'user.name','user.email')
109+
}
110+
107111
LogGroup 'Set outputs - Zen2' {
108112
Set-GitHubOutput -Name 'Zen2' -Value $zen
109113
}

0 commit comments

Comments
 (0)