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

Add branch name to view_pr function response #920

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

codegen-sh[bot]
Copy link
Contributor

@codegen-sh codegen-sh bot commented Mar 20, 2025

This PR adds the head branch name to the view_pr function response as requested by Eduardo.

Changes:

  • Added a new head_branch field to the ViewPRObservation class
  • Modified the view_pr function to extract the branch name from the PR object using pr.head.ref
  • Added the branch name to both success and error responses

This will allow users to see the branch name when viewing a PR, which can be useful for various workflows.

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.

0 participants