do something willy-nilly
1. Lacking or without thought, order, or reason; haphazard(ly). You can't just choose a college willy-nilly—you have to do some research. It appears he listed the items willy-nilly, with no regard to how they were loaded.
2. Regardless of whether or not it is desired. I'm afraid you're going to be assigned to a classroom willy-nilly.
do something ˌwilly-ˈnilly(informal)
1 do something whether you want to or not: She was forced willy-nilly to accept the company’s proposals.
2 do something in a careless way without planning: Don’t just use your credit card willy-nilly.
This expression is a shortened form of ‘willing or not willing’.
See also: something