Skip to content

Commit 621bd2f

Browse files
Copilot0x5t4l1n
andauthored
fix: simplify issue number validation check
Agent-Logs-Url: https://github.com/th30d4y/.github/sessions/3ebd0ea0-050b-490d-88d6-b63460c4e3a8 Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com>
1 parent 74c7296 commit 621bd2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/org-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
const repo = context.repo.repo;
9393
9494
try {
95-
if (issueNumber == null || Number.isNaN(issueNumber) || issueNumber <= 0) {
95+
if (Number.isNaN(issueNumber) || issueNumber <= 0) {
9696
core.setFailed("Unable to determine issue/pull request number for comment.");
9797
return;
9898
}

0 commit comments

Comments
 (0)