We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c87da6f commit c9966c9Copy full SHA for c9966c9
.github/workflows/Action-Test.yml
@@ -37,20 +37,11 @@ jobs:
37
uses: ./
38
with:
39
Script: |
40
- LogGroup 'GitConfig - Local' {
41
- $configList = git config --local --list 2>&1
42
- $configList
43
- $LASTEXITCODE
44
- }
45
-
46
- LogGroup 'GitConfig - Global' {
47
- $configList = git config --global --list 2>&1
48
49
50
51
52
- LogGroup 'GitConfig - System' {
53
- $configList = git config --system --list 2>&1
+ $scopes = 'local', 'global', 'system'
+ $scopes | ForEach-Object {
+ LogGroup "GitConfig - $_" {
+ $configList = git config --$_ --list 2>&1
54
$configList
55
$LASTEXITCODE
56
}
+ }
0 commit comments