From 7a6a17f074a0819f7db8627b55ca18f111b84450 Mon Sep 17 00:00:00 2001 From: Victor Pellan Date: Fri, 17 Oct 2025 12:52:51 +0200 Subject: [PATCH] Fix typing stats for PRs that don't touch typing --- .github/workflows/typing-stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) }