Cannot move artwork with artboard
Artwork only moves with artboard when duplicate action is used. Nothing in layers or in file is locked.
By 'action' you mean an Action form Actions panel or a user action?
Can you please share the file to check if it’s a file specific bug?
If the data is confidential, please send it over firstname.lastname@example.org, and give the link to this report — https://illustrator.uservoice.com/forums/601447/suggestions/44695711