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

fix team reviewer #572

Merged
merged 1 commit into from
Mar 31, 2023
Merged

fix team reviewer #572

merged 1 commit into from
Mar 31, 2023

Conversation

sourcegraph-buildkite
Copy link
Contributor

@sourcegraph-buildkite sourcegraph-buildkite commented Mar 31, 2023

update team reviewers due to github changes

Github recently changed their API, which no longer allows(reqiures) the org prefix on team reviewers.

Response from github:

I took a look and it does seem like we made changes to the API endpoint about the time the report was first made in the peter-evans/create-pull-request#1638 15).

Before then, we return a 201 response also when the requested reviewer or team is non-existent. This response is incorrect, as we should be returning a 422 -- the change on the endpoint was targeted at fixing that behavior.
and full issue

peter-evans/create-pull-request#1638

Test plan
Tested on feature branch

https://github.com/sourcegraph/sourcegraph/actions/runs/4577519273/jobs/8083025675

@davejrt davejrt requested review from stefanhengl and a team March 31, 2023 17:35
@davejrt davejrt merged commit 56aa3cd into main Mar 31, 2023
@davejrt davejrt deleted the dt/update_team_reviewer branch March 31, 2023 19:34
@keegancsmith
Copy link
Member

Thank you for the PR @sourcegraph-buildkite

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

Successfully merging this pull request may close these issues.

4 participants