Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set backport PR reviewer equal to original PR reviewer #2

Open
korthout opened this issue Nov 26, 2020 · 1 comment · Fixed by #4
Open

Set backport PR reviewer equal to original PR reviewer #2

korthout opened this issue Nov 26, 2020 · 1 comment · Fixed by #4
Labels
enhancement New feature or request

Comments

@korthout
Copy link
Owner

Original issue: https://github.com/zeebe-io/automation-lab/issues/39

@korthout
Copy link
Owner Author

This implementation never really seems to have worked as expected. The requested_reviewers often seems to be empty. However, a special api is available to retrieve this data.

const reviews = await github
        .getOctokit(token)
        .pulls.listReviews({owner, repo, pull_number: number})

See this under Run ./actions/hello-world-typescript (the last printed part) as an example of this api's returned data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant