Automatic approve of pull request

Creating a workflow in that every time one branch will create, soe changes will get commit and add after commit pull request will generate so can we approve pull request automatically is there any command ? If yes please let me know command.

still stuck here please update me on this

it can be done through GitHub Actions,

check this out, there is also the instruction how to do this,