Skip to content

add author field to list_commits for filtering #569

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

Merged
merged 1 commit into from
Jun 24, 2025

Conversation

davidbyttow
Copy link
Contributor

Closes: #568

@Copilot Copilot AI review requested due to automatic review settings June 23, 2025 03:20
@davidbyttow davidbyttow requested a review from a team as a code owner June 23, 2025 03:20
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request adds an optional "author" field to the list_commits API for filtering commits based on author information.

  • Adds the "author" property to the input schema in tests.
  • Updates the repositories function to retrieve and pass the new "author" parameter.
  • Updates snapshots and documentation in README to reflect the new parameter.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
pkg/github/repositories_test.go Adds tests to check for the new "author" property in schema and request.
pkg/github/repositories.go Updates the input schema and passes "author" to the GitHub API.
pkg/github/toolsnaps/list_commits.snap Updates the snapshot to include the "author" field.
README.md Documents the new optional "author" parameter.

@JoannaaKL JoannaaKL merged commit f631ff5 into github:main Jun 24, 2025
9 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.

Add ability to filter commits by author
2 participants