-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add Copilot Usage Summary for Organization #3321
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
Conversation
I will implement other missing API methods as well, converting to draft for now whilst i work on more! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3321 +/- ##
==========================================
- Coverage 97.72% 93.33% -4.39%
==========================================
Files 153 171 +18
Lines 13390 11795 -1595
==========================================
- Hits 13085 11009 -2076
- Misses 215 692 +477
- Partials 90 94 +4 ☔ View full report in Codecov by Sentry. |
@gmlewis i added all missing API methods from the Github API :) Let me know what you think! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @claystation !
A couple minor tweaks, please, and one question.
After that, we should be ready for a second LGTM+Approval from any other contributor to this repo before merging.
Also, please run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @claystation !
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you, @tomfeigin ! |
Github has a Rest API to get the usage summary of Copilot within the organization. This PR implements the functionality to fetch that data.
API Docs: Here
Please let me know what you think!
(Fixup of #3318 due to CLA signing issues)