Skip to content

Can you use GitHub Action account to approve PRs? #27090

Answered by Simran-B
Andre601 asked this question in Actions
Discussion options

You must be logged in to vote
Andre601:

I can’t approve my own PRs (Can I tho? Like is there a way?)

I don’t think so. At least the GitHub web interface does not let you do that. I’m not sure if the API might allow it.

I want to prevent others with [admin privileges] to easily bypass this [approval-requirement]

As I understand, you still want to be able to bypass the approval process for yourself. Are you an administrator too or the owner of the repo? I suppose that the owner can still bypass the approval even if they are mandatory for admins (“Include administrators” at the bottom):

If that doesn’t work for you, then yes, you can let a workflow approve your pull requests, e.g. using the g…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@andretai
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants