actions: Reorder action checking