Skip to content

Commit fdb064f

Browse files
author
James Brundage
committed
Updating HelpOut PSA (Fixes #152)
1 parent 09900b5 commit fdb064f

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

HelpOut.PSA.ps1

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Get-BskyActorProfile -Actor $env:AT_PROTOCOL_HANDLE -Cache | Out-Host
2222

2323
$isMergeToMain =
2424
($gitHubEvent.head_commit.message -match "Merge Pull Request #(?<PRNumber>\d+)") -and
25-
$gitHubEvent.ref -eq 'refs/heads/main'
25+
$gitHubEvent.ref -in 'refs/heads/main', 'refs/heads/master'
2626

2727
if ($isMergeToMain) {
2828
Import-Module .\HelpOut.psd1 -Global -PassThru | Out-Host
@@ -34,8 +34,10 @@ if ($isMergeToMain) {
3434
"#PowerShell people, help yourself to new bits: " |
3535
Get-Random
3636

37-
"$moduleAndVersion is out!"
38-
)
37+
"$moduleAndVersion is out!"
38+
39+
"https://github.com/StartAutomating/HelpOut"
40+
) -join ([Environment]::NewLine * 2)
3941

4042
Send-AtProto -Text $fullMessage -WebCard @{
4143
Url = "https://github.com/StartAutomating/HelpOut"

0 commit comments

Comments
 (0)