You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hugoalh.GitHubActionsToolkit/module/utility.psm1
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ Function Get-WebhookEventPayload {
72
72
Param (
73
73
[Alias('ToHashtable')][Switch]$AsHashtable
74
74
)
75
-
If ([System.IO.Path]::IsPathFullyQualified($Env:GITHUB_EVENT_PATH)) {
75
+
If (![System.IO.Path]::IsPathFullyQualified($Env:GITHUB_EVENT_PATH)) {
76
76
Write-Error-Message 'Unable to get the GitHub Actions webhook event payload: Environment path `GITHUB_EVENT_PATH` is not defined or not contain a valid file path!'-Category 'ResourceUnavailable'
0 commit comments