Skip to content

Commit 01568d4

Browse files
authored
Fix typing stats for PRs that don't touch typing (#4987)
1 parent 2f20b9a commit 01568d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/typing-stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,6 @@ jobs:
105105
106106
if (null === previousCommentId && commentContent !== "") {
107107
await github.rest.issues.createComment(options)
108-
} else {
108+
} else if (previousCommentId) {
109109
await github.rest.issues.updateComment({...options, comment_id: previousCommentId})
110110
}

0 commit comments

Comments
 (0)