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 author value for bot-authored pull requests #231

Merged
merged 1 commit into from
Sep 9, 2020

Conversation

bluekeyes
Copy link
Member

The v3 API includes the '[bot]' suffix, while the v4 API does not. Depending on how the context was created, the object may have come from either API, so we need the helper function to standardize the value.

This might fix the bug in #230, but we'd have to backport to a 1.17.x release branch to test it out.

The v3 API includes the '[bot]' suffix, while the v4 API does not.
Depending on how the context was created, the object may have come from
either API, so we need the helper function to standardize the value.
@bluekeyes bluekeyes requested a review from a team September 8, 2020 21:58
@bluekeyes bluekeyes merged commit 5b3a180 into develop Sep 9, 2020
@bluekeyes bluekeyes deleted the bkeyes/fix-pr-author branch September 9, 2020 15:55
@NargiT
Copy link

NargiT commented Sep 10, 2020

thanks !

bluekeyes added a commit that referenced this pull request Sep 11, 2020
The v3 API includes the '[bot]' suffix, while the v4 API does not.
Depending on how the context was created, the object may have come from
either API, so we need the helper function to standardize the value.

(cherry picked from commit 5b3a180)
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.

3 participants