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

how to get PR repo name ? #322

Open
gotson opened this issue Jan 5, 2023 · 3 comments · May be fixed by #323 or #356
Open

how to get PR repo name ? #322

gotson opened this issue Jan 5, 2023 · 3 comments · May be fixed by #323 or #356

Comments

@gotson
Copy link

gotson commented Jan 5, 2023

Hi,

how can i retrieve the repository that was used as the source for the PR ?

For example on this PR: xerial/sqlite-jdbc#818 i need to retrieve both the repository pyckle/sqlite-jdbc as well as the branch backup_restore_fix.

It seems i can only get backup_restore_fix when using head_ref.

@gotson gotson linked a pull request Jan 5, 2023 that will close this issue
@alessbell
Copy link

alessbell commented Feb 2, 2023

+1, also looking to access these fields.

Edit: if anyone needs this, feel free to use my fork at alessbell/[email protected], e.g. https://github.com/apollographql/apollo-client/pull/10568/files#diff-9dc5e53b8fc4bd9d74ca8c2d8d9d5bf7f94c6a8ccc49f2bcc142ec5c171686d1L27-L34

@gotson
Copy link
Author

gotson commented Feb 20, 2023

i already had it published as gotson/pull-request-comment-branch@head-repo-owner-dist since i needed it myself :)

@aleclarson
Copy link

Hi @xt0rted, is there any way we can this merged and released?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants