Skip to content

Commit 394363d

Browse files
🩹 [Enhancement]: Add CLI status and user debug logging to workflow
1 parent 2280da8 commit 394363d

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/TestWorkflow.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,17 @@ jobs:
6363
# Write-Host "$($headers | Format-List | Out-String)"
6464
# }
6565
66-
LogGroup "Get header from Get-GitHubRepository" {
67-
$results = Invoke-GithubAPI -APIEndpoint "/repos/${{ github.repository }}" -Debug -Verbose
68-
$headers = $results.headers
69-
Write-Host "$($headers | Format-List | Out-String)"
66+
# LogGroup "Get header from Get-GitHubRepository" {
67+
# $results = Invoke-GithubAPI -APIEndpoint "/repos/${{ github.repository }}" -Debug -Verbose
68+
# $headers = $results.headers
69+
# Write-Host "$($headers | Format-List | Out-String)"
70+
# }
71+
72+
LogGroup "CLI status" {
73+
gh auth status
74+
}
75+
76+
LogGroup "CLI user debug" {
77+
$env:GH_DEBUG = 'api'
78+
gh user
7079
}

0 commit comments

Comments
 (0)