Skip to content

Commit 2bd338d

Browse files
🩹 [Patch]: Add logging for headers retrieved from GitHub API in workflow
1 parent 4463abf commit 2bd338d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/TestWorkflow.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,12 @@ jobs:
231231
}
232232
}
233233
234+
LogGroup "Get header from Get-GitHubUser" {
235+
$results = Invoke-GithubAPI -APIEndpoint "/user"
236+
$headers = $results.headers
237+
Write-Host "$($headers | Format-List | Out-String)"
238+
}
239+
234240
- name: Run-test
235241
shell: pwsh
236242
env:

0 commit comments

Comments
 (0)