Skip to content

Commit 74496a5

Browse files
🪲 [Fix]: Fix test that gets a complex object (#23)
## Description This pull request includes a small change to the `.github/workflows/TestWorkflow.yml` file. * [`.github/workflows/TestWorkflow.yml`](diffhunk://#diff-242a265d6d6bfff6094c9285345022d0e6d7ddde58504dfc80249fafbd89ba2cL108-R108): Modified the `Set-GitHubOutput` command to use the `-Scope system` parameter for retrieving the Git configuration. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [x] 🪲 [Fix] - [ ] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent 15b36d8 commit 74496a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/TestWorkflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
}
106106
107107
LogGroup 'Set outputs - GitConfig' {
108-
Set-GitHubOutput -Name 'GitConfig' -Value (Get-GitHubGitConfig | Where-Object { $_.Name -in 'user.name','user.email' })
108+
Set-GitHubOutput -Name 'GitConfig' -Value (Get-GitHubGitConfig -Scope system)
109109
}
110110
111111
LogGroup 'Set outputs - Zen2' {

0 commit comments

Comments
 (0)