diff --git a/jobs/create-version-branch.js b/jobs/create-version-branch.js
index <HASH>..<HASH> 100644
--- a/jobs/create-version-branch.js
+++ b/jobs/create-version-branch.js
@@ -169,7 +169,7 @@ module.exports = async function (
 
       if (!satisfies && openPR) {
         const dependencyNameAndVersion = `${depName}-${latestDependencyVersion}`
-        if (!openPR.comments.includes(dependencyNameAndVersion)) {
+        if (!openPR.comments || !openPR.comments.includes(dependencyNameAndVersion)) {
           hasNewUpdates = true
           await upsert(repositories, openPR._id, {
             comments: [...(openPR.comments || []), dependencyNameAndVersion]
fix(create-version-branch): comments on PR docs might not exist yet