+
Skip to content

Conversation

joshua-hancox
Copy link
Contributor

@joshua-hancox joshua-hancox commented Jun 16, 2022

As a follow on from this PR - I also need to be able to access the role_name returned from the Repositories.ListCollaborators endpoint, and therefore have raised this PR to include the field in the user struct.

@google-cla
Copy link

google-cla bot commented Jun 16, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@codecov
Copy link

codecov bot commented Jun 16, 2022

Codecov Report

Merging #2386 (7d99f0c) into master (74c4599) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2386   +/-   ##
=======================================
  Coverage   98.06%   98.06%           
=======================================
  Files         119      119           
  Lines       10545    10545           
=======================================
  Hits        10341    10341           
  Misses        140      140           
  Partials       64       64           
Impacted Files Coverage Δ
github/users.go 94.17% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 74c4599...7d99f0c. Read the comment docs.

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, @joshua-hancox !
LGTM.
Merging.

@gmlewis gmlewis merged commit 697804f into google:master Jun 16, 2022
@joshua-hancox joshua-hancox deleted the role-name-user-struct branch June 21, 2022 06:55
@joshua-hancox
Copy link
Contributor Author

Hey @gmlewis - any chance we could get a release with this functionality?

@gmlewis
Copy link
Collaborator

gmlewis commented Jun 21, 2022

Hey @gmlewis - any chance we could get a release with this functionality?

Hi @joshua-hancox - yes, this is now included in v45.2.0:
https://github.com/google/go-github/releases/tag/v45.2.0

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.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载