If someone does something willy-nilly, they do it in a careless and disorganized way, without planning it in advance. Clerks bundled papers into files willy-nilly
() Originally ‘will he, nill he’ or ‘will ye, nill ye’, meaning ‘be he willing, be he unwilling’; see will, nill., World Wide Words, by Michael Quinion