Roles and responsibilities in Devops

In a DevopsDevops Training | Devops AWS Certification Online Course - Tekslate context, Who is the responsible for the automation tasks ? more exactly in the case of “pipeline as a code” in jenkins . who is supposed to do this task ? the devoloper or the operator ? who is the actor ?
Thanks in advance.