Adding `post_author` in php

Try this

<div class="my_edit_button">
<?php if ( $post->post_author == $current_user->ID ) {
echo do_shortcode('[something]'); 
}?>
</div>