File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ git config --global user.name $UserName
103103$branchName = git rev- parse -- abrev- ref HEAD
104104# If we were not, return.
105105if (-not $branchName ) {
106- " ::notice title=ModuleLoaded:: $actionModuleName Loaded from Path - $ ( $actionModulePath ) " | Out-Host
106+ " ::warning::Not on a branch " | Out-Host
107107 return
108108}
109109
Original file line number Diff line number Diff line change @@ -49,12 +49,12 @@ runs:
4949 id : EZOutAction
5050 shell : pwsh
5151 env :
52- UserName : ${{inputs.UserName}}
5352 CommitMessage : ${{inputs.CommitMessage}}
5453 ModuleName : ${{inputs.ModuleName}}
54+ UserName : ${{inputs.UserName}}
5555 EZOutScript : ${{inputs.EZOutScript}}
56- SkipEZOutPS1 : ${{inputs.SkipEZOutPS1}}
5756 UserEmail : ${{inputs.UserEmail}}
57+ SkipEZOutPS1 : ${{inputs.SkipEZOutPS1}}
5858 run : |
5959 $Parameters = @{}
6060 $Parameters.EZOutScript = ${env:EZOutScript}
7070 }
7171 }
7272 Write-Host "::debug:: EZOutAction $(@(foreach ($p in $Parameters.GetEnumerator()) {'-' + $p.Key + ' ' + $p.Value}) -join ' ')"
73- & {
74- <#
73+ & {<#
7574 .Synopsis
7675 GitHub Action for EZOut
7776 .Description
@@ -176,7 +175,7 @@ runs:
176175 $branchName = git rev-parse --abrev-ref HEAD
177176 # If we were not, return.
178177 if (-not $branchName) {
179- "::notice title=ModuleLoaded::$actionModuleName Loaded from Path - $($actionModulePath) " | Out-Host
178+ "::warning::Not on a branch " | Out-Host
180179 return
181180 }
182181
@@ -312,6 +311,5 @@ runs:
312311 }
313312
314313 #endregion Actual Action
315-
316314 } @Parameters
317315
You can’t perform that action at this time.
0 commit comments