Uh oh!
There was an error while loading. Please reload this page.
feat: Implement List Repository Activities endpoint - #3651
Conversation
Adds support for the /repos/{owner}/{repo}/activity REST API endpoint.
This implements the List Repository Activities functionality introduced
in GitHub API v2022-11-28, allowing clients to retrieve detailed
activity data for repositories.
Includes:
- New RepositoryActivity struct and related types
- ListRepositoryActivitiesOptions for pagination and filtering
- Implementation in RepositoriesService with tests
- Documentation with examples
Ref: google#3649
Signed-off-by: abhishek <abhishek@exaforce.com>
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @AbhishekAg.
Please address these items, then we should be ready for a second LGTM+Approval from any other contributor to this repo before merging.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## master #3651 +/- ##
=======================================
Coverage 91.25% 91.25% =======================================
Files 184 184 Lines 16311 16327 +16 =======================================
+ Hits 14884 14900 +16
Misses 1245 1245 Partials 182 182 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @AbhishekAg!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.
@stevehipwell or @alexandear - might one of you have time for a code review? Thank you!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: abhishek <abhishek@exaforce.com>
AbhishekAg
commented
Jul 29, 2025
@alexandear Please review the PR when you get time. |
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: abhishek <abhishek@exaforce.com>
AbhishekAg
commented
Jul 29, 2025
@gmlewis@alexandear Can you please push these changes to the protected branch? I am not allowed to perform the push. |
gmlewis
commented
Jul 29, 2025
Thank you, @alexandear! |
Uh oh!
There was an error while loading. Please reload this page.
Fixes: #3649.
This PR implements support for the "List repository activities" REST API endpoint introduced in GitHub API v2022-11-28. This functionality allows go-github users to retrieve detailed activity information for repositories.
Implementation Details
API Reference
This implementation follows the GitHub REST API specification documented at:
https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-repository-activities
Example Usage
Testing
The implementation includes unit tests that verify: