Skip to content

Commit 727868f

Browse files
committed
Add description
1 parent 60599b9 commit 727868f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

hugoalh.GitHubActionsToolkit/hugoalh.GitHubActionsToolkit.psm1

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,16 @@ function Add-GHActionsPATH {
182182
Add-Content -Path $env:GITHUB_PATH -Value "$($Result -join "`n")" -Encoding utf8NoBOM
183183
}
184184
}
185+
<#
186+
.SYNOPSIS
187+
GitHub Actions - Add Problem Matcher
188+
.DESCRIPTION
189+
Problem matchers are a way to scan the output of actions for a specified regular expression pattern and automatically surface that information prominently in the user interface, both GitHub Annotations and log file decorations are created when a match is detected. For more information, please visit https://github.com/actions/toolkit/blob/main/docs/problem-matchers.md.
190+
.PARAMETER Path
191+
Relative path to the JSON file problem matcher.
192+
.OUTPUTS
193+
Void
194+
#>
185195
function Add-GHActionsProblemMatcher {
186196
[CmdletBinding()][OutputType([void])]
187197
param (
@@ -443,6 +453,16 @@ function Get-GHActionsWebhookEventPayload {
443453
}
444454
Set-Alias -Name 'Get-GHActionsEvent' -Value 'Get-GHActionsWebhookEventPayload' -Option ReadOnly -Scope 'Local'
445455
Set-Alias -Name 'Get-GHActionsPayload' -Value 'Get-GHActionsWebhookEventPayload' -Option ReadOnly -Scope 'Local'
456+
<#
457+
.SYNOPSIS
458+
GitHub Actions - Remove Problem Matcher
459+
.DESCRIPTION
460+
Remove problem matcher.
461+
.PARAMETER Owner
462+
Owner of the problem matcher.
463+
.OUTPUTS
464+
Void
465+
#>
446466
function Remove-GHActionsProblemMatcher {
447467
[CmdletBinding()][OutputType([void])]
448468
param (

0 commit comments

Comments
 (0)