diff --git a/.github/workflows/typing-stats.yml b/.github/workflows/typing-stats.yml index f7d3e77cc6b..e6291e24be0 100644 --- a/.github/workflows/typing-stats.yml +++ b/.github/workflows/typing-stats.yml @@ -105,6 +105,6 @@ jobs: if (null === previousCommentId && commentContent !== "") { await github.rest.issues.createComment(options) - } else { + } else if (previousCommentId) { await github.rest.issues.updateComment({...options, comment_id: previousCommentId}) }