Skip to content

Commit 1382384

Browse files
Add debug output to Action-Test workflow for Git configuration
1 parent 137af43 commit 1382384

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/Action-Test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
- name: Action-Test
3737
uses: ./
3838
with:
39+
Debug: true
3940
Script: |
4041
$scopes = 'local', 'global', 'system'
4142
$scopes | ForEach-Object {
@@ -50,6 +51,8 @@ jobs:
5051
$configList = $configList | Sort-Object
5152
$configList | ForEach-Object {
5253
$name, $value = $_ -split '=', 2
54+
Write-Debug "Name: $name"
55+
Write-Debug "Value: $value"
5356
if ($value -match '(?i)AUTHORIZATION:\s*(?<scheme>[^\s]+)\s+(?<token>.*)') {
5457
$secret = $matches['token']
5558
Add-GitHubMask -Value $secret

0 commit comments

Comments
 (0)