Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Ground Controller Lvl 1
Message 1 of 2

Submitting a PR review on behalf of a user

We're building an Upsource to Github integration, as we want to fill a few holes with its synchronization. The task at hand involves syncing review statuses (Github: Accept/Reject, Upsource: Approve/Raise Concern). Even though we've invested heavily in getting the required information from both places (through Github's GraphQL API and Upsource's RPC interface), we've hit a roadblock as we don't seem to be able to use the Github API to submit a review on behalf of a user. I wonder if there's a way to set the `Actor`

1 Reply
Copilot Lvl 3
Message 2 of 2

Re: Submitting a PR review on behalf of a user

You should make user authorize via OAuth 2. Then, you'll get their token and do actions on behalf of them.