lib/handle-branch-status.js
function hasVersionComment (issue, version) {
    if (!issue.version && !issue.comments) {
      log.error('no version information on issue document', { issue })
      return false
    }
    return issue.version === version || (issue.comments && issue.comments.includes(version))
  }
function hasVersionComment (issue, version) {
    if (!issue.version && !issue.comments) {
      log.error('no version information on issue document', { issue })
      return false
    }
    return issue.version === version || (issue.comments && issue.comments.includes(version))
  }
Not closing the issue, so decision whether to explicitly upgrade or just close is with the user await github.issues.update({owner, repo, number, state: 'closed'})