lib/release_tools/update_gitaly_merge_request.rb [25:48]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    end

    def fresh?
      return false unless exists?

      Time.parse(remote_issuable.created_at) >= STALE_AFTER
    end

    def notifiable?
      return false unless exists?
      return false if fresh?

      # When we first consider the merge request stale, a specific label is
      # applied. Checking for the label prevents us from sending multiple
      # notifications for the same merge request.
      remote_issuable.labels.exclude?(NOTIFIED_LABEL)
    end

    def mark_as_stale
      comment = <<~BODY
        This merge request has been open for too long and will need manual
        intervention.

        /label ~"#{NOTIFIED_LABEL}"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



lib/release_tools/update_kas_merge_request.rb [24:47]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    end

    def fresh?
      return false unless exists?

      Time.parse(remote_issuable.created_at) >= STALE_AFTER
    end

    def notifiable?
      return false unless exists?
      return false if fresh?

      # When we first consider the merge request stale, a specific label is
      # applied. Checking for the label prevents us from sending multiple
      # notifications for the same merge request.
      remote_issuable.labels.exclude?(NOTIFIED_LABEL)
    end

    def mark_as_stale
      comment = <<~BODY
        This merge request has been open for too long and will need manual
        intervention.

        /label ~"#{NOTIFIED_LABEL}"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



