def add_merge_comment
    return if repository.vpt_config.dig('comment_on', 'needs_rebase') == false
    return unless eligible_for_merge_comment

    add_comment(I18n.t('comment.needs_rebase', author: author))