Skip to content
This repository was archived by the owner on Jul 16, 2026. It is now read-only.

Commit 96859e1

Browse files
🪲 [Fix]: Simplify condition for merged pull request check (#36)
## Description - Simplify condition for merged pull request check ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [x] 🪲 [Fix] - [ ] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas
1 parent 451cd93 commit 96859e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/helpers/Publish-PSModule.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function Publish-PSModule {
8888
exit
8989
}
9090
$actionType = $githubEvent.action
91-
$isMerged = ($pull_request.merged).ToString() -eq 'True'
91+
$isMerged = $pull_request.merged -eq 'True'
9292
$prIsClosed = $pull_request.state -eq 'closed'
9393
$prBaseRef = $pull_request.base.ref
9494
$prHeadRef = $pull_request.head.ref

0 commit comments

Comments
 (0)