Skip to content

Commit b661d0e

Browse files
Add updater function help
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 8a4f774 commit b661d0e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/scripts/Update-GitHubActionPins.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ Set-StrictMode -Version Latest
88
$ErrorActionPreference = 'Stop'
99

1010
function Get-CommitShaForTag {
11+
<#
12+
.SYNOPSIS
13+
Resolves a GitHub release tag to its commit SHA.
14+
#>
1115
[OutputType([string])]
1216
param(
1317
[Parameter(Mandatory)]
@@ -33,6 +37,10 @@ function Get-CommitShaForTag {
3337
}
3438

3539
function Get-LatestActionPin {
40+
<#
41+
.SYNOPSIS
42+
Gets the latest release tag and commit SHA for a GitHub Action.
43+
#>
3644
[OutputType([pscustomobject])]
3745
param(
3846
[Parameter(Mandatory)]

0 commit comments

Comments
 (0)