[go: up one dir, main page]

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

Update CustomOrgRoles and CustomRepoRoles to include all fields returned by the GitHub API #3216

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

AbhishekAg
Copy link
Contributor
@AbhishekAg AbhishekAg commented Jul 21, 2024

Fixes: #3214.

CustomRepoRoles and CustomOrgRoles structures have missing fields, due to which the part of the response from the github API is missed.

Updating the structures as per the github API schema defined.

Ref: google#3214

Signed-off-by: Abhishek Agarwal <abhishek@exaforce.com>
@gmlewis gmlewis changed the title Updating the structure to include all fields returned by the github API Update CustomOrgRoles and CustomRepoRoles to include all fields returned by the GitHub API Jul 21, 2024
Copy link
codecov bot commented Jul 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.92%. Comparing base (2b8c7fa) to head (e8f1b83).
Report is 84 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3216      +/-   ##
==========================================
- Coverage   97.72%   92.92%   -4.80%     
==========================================
  Files         153      171      +18     
  Lines       13390    11582    -1808     
==========================================
- Hits        13085    10763    -2322     
- Misses        215      726     +511     
- Partials       90       93       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator
@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent... thank you, @AbhishekAg !
Apart from one tiny nit, LGTM.

github/orgs_custom_roles_test.go Outdated Show resolved Hide resolved
Signed-off-by: Abhishek Agarwal <abhishek@exaforce.com>
Copy link
Collaborator
@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @AbhishekAg !
LGTM.
Merging.

@gmlewis gmlewis merged commit d5e03d5 into google:master Jul 22, 2024
6 of 7 checks passed
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.

Missing fields in structure
2 participants