Pull request accross different repository #2539
Replies: 1 comment
-
see #2538 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can Someone Help me to figure this out
I have 2 repositories
repo1 = Organization/project
repo2 = user/project (it is forked of repo1)
Can I create a Pull Request from repo2 to repo1 using a Fine-Grained token with the required access of repo2 using PyGithub, If yes can you please help me to do that
Here is what I am doing:
g = Github("token") (token of repo2)
repo1 = g.get_repo("organization/project")
repo2 = g.get_repo("user/project")
repo1.create_pull(title="PR_TITLE", body="PR_BODY", base="main",head="user/project:main")
I am getting this error
Beta Was this translation helpful? Give feedback.
All reactions