File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
2727if ($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"
You can’t perform that action at this time.
0 commit comments