Skip to content

Commit 2d018d3

Browse files
Updating workflow and source files (being more clear about what is being skipped)
1 parent 6cb3106 commit 2d018d3

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/TestAndPublish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ jobs:
252252
253253
if (-not ($gitHubEvent.head_commit.message -match "Merge Pull Request #(?<PRNumber>\d+)") -and
254254
(-not $gitHubEvent.psobject.properties['inputs'])) {
255-
"::warning::Pull Request has not merged, skipping" | Out-Host
255+
"::warning::Pull Request has not merged, skipping Tagging" | Out-Host
256256
return
257257
}
258258
@@ -343,7 +343,7 @@ jobs:
343343
344344
if (-not ($gitHubEvent.head_commit.message -match "Merge Pull Request #(?<PRNumber>\d+)") -and
345345
(-not $gitHubEvent.psobject.properties['inputs'])) {
346-
"::warning::Pull Request has not merged, skipping" | Out-Host
346+
"::warning::Pull Request has not merged, skipping GitHub release" | Out-Host
347347
return
348348
}
349349
@@ -428,7 +428,7 @@ jobs:
428428
429429
if (-not ($gitHubEvent.head_commit.message -match "Merge Pull Request #(?<PRNumber>\d+)") -and
430430
(-not $gitHubEvent.psobject.properties['inputs'])) {
431-
"::warning::Pull Request has not merged, skipping" | Out-Host
431+
"::warning::Pull Request has not merged, skipping Gallery Publish" | Out-Host
432432
return
433433
}
434434

GitHub/Steps/PublishPowerShellGallery.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $($gitHubEvent | ConvertTo-Json -Depth 100)
1515

1616
if (-not ($gitHubEvent.head_commit.message -match "Merge Pull Request #(?<PRNumber>\d+)") -and
1717
(-not $gitHubEvent.psobject.properties['inputs'])) {
18-
"::warning::Pull Request has not merged, skipping" | Out-Host
18+
"::warning::Pull Request has not merged, skipping Gallery Publish" | Out-Host
1919
return
2020
}
2121

GitHub/Steps/ReleaseModule.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $($gitHubEvent | ConvertTo-Json -Depth 100)
3030

3131
if (-not ($gitHubEvent.head_commit.message -match "Merge Pull Request #(?<PRNumber>\d+)") -and
3232
(-not $gitHubEvent.psobject.properties['inputs'])) {
33-
"::warning::Pull Request has not merged, skipping" | Out-Host
33+
"::warning::Pull Request has not merged, skipping GitHub release" | Out-Host
3434
return
3535
}
3636

GitHub/Steps/TagModuleVersion.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ $($gitHubEvent | ConvertTo-Json -Depth 100)
3535

3636
if (-not ($gitHubEvent.head_commit.message -match "Merge Pull Request #(?<PRNumber>\d+)") -and
3737
(-not $gitHubEvent.psobject.properties['inputs'])) {
38-
"::warning::Pull Request has not merged, skipping" | Out-Host
38+
"::warning::Pull Request has not merged, skipping Tagging" | Out-Host
3939
return
4040
}
4141

0 commit comments

Comments
 (0)