Skip to content

Request review from original PR author when backporting a PR you reviewed #24

Description

@jfirebaugh

Currently if you backport a PR of behalf of someone else, and you were the approving reviewer on the original PR, backport will attempt to request a review on the new PR from yourself, which Github denies:

{ HttpError: {"message":"Review cannot be requested from pull request author.","documentation_url":"https://developer.github.com/v3/pulls/review_requests/#create-a-review-request"}
...

It should instead request a review from the original author.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions