Extract name/id of commit author

I am building a pipeline where I need to extract the name of commit author.
What is the best way to do this?

Thanks

Hi

See if this reply works out for you.