62

I would like to make a pull request from my fork repo to the upstream repository.

As always I was following these steps here from the guidance from Github.

But this time I can not make a pull request, as the button is disabled.

The branches can be automatically merged.

I do have changes in my forked repo and I can see commits made. Base repo and head repo are indicated correctly.

Luc
  • 5,339
  • 2
  • 48
  • 48
wingedRuslan
  • 821
  • 1
  • 6
  • 9
  • 7
    What happens *after* you've filled in the title and description? Are there enabled options in the dropdown on that button? – jonrsharpe Apr 10 '19 at 07:21
  • 1
    Hi, welcome to SO. While a screenshot can sometimes be useful, this one is maybe not showing the most informative things for the problem at hand. You said the button was disabled and we're ready to take your word for it, no need for a proof. What *would* be more useful is your branches situation. – Romain Valeri Apr 10 '19 at 07:23
  • Well, title is filled in as well as the description, but still, the button is disabled. @jonrsharpe Do you mean the "create draft pull request" option from dropdown? If yes, it is disabled also – wingedRuslan Apr 10 '19 at 07:26
  • @RomainValeri you are right, the image is unnecessary. What about branches situation? – wingedRuslan Apr 10 '19 at 07:32
  • Are the branches to be merged from different repos? Have you double-checked authorizations for submitting pull requests here? – Romain Valeri Apr 10 '19 at 07:42
  • happened to me before and it was because i forgot to add title – Mohamed Seif Sep 02 '20 at 16:58

10 Answers10

172

In my case, the pull request Title field didn't auto-populate like it usually does. Once I typed in a title, the button became active.

GeekyMonkey
  • 12,478
  • 6
  • 33
  • 39
10

make sure to put something in the title, I forgot to add one here enter image description here

7

From Github Developer Support:

Also, I know this might seem strange, but could you try selecting the base repo/branch from the drop down list (even if this already seems selected), and give this another go. It could that, for whatever reason, the pull request creation flow isn't picking this up implicitly.

I have also logged out and logged in again.

After that, everything was fine!

wingedRuslan
  • 821
  • 1
  • 6
  • 9
2

I couldn't see a button at all... and then I realised...

I wasn't logged in #facepalm

Louis Sayers
  • 2,162
  • 3
  • 30
  • 53
1

Populating the "comment" field did it for me.

Ben Caine
  • 1,128
  • 3
  • 15
  • 25
1

Hello I encountered the same issue then noticed that the button is inactive because you have not given the title to the PR. Make sure you give the PR title.

0

It happened to but I realized that and immediately changed the default branch to master. The pull request button got activated thereoff.

Jelil
  • 1
  • 1
0

After realising it's just a HTML issue, I enabled the button by inspecting the element and deleting the tag in my browser (Safari).

That should fix the issue in other browsers too.

0

I had to select my branch from the list shown down on the github page labeled "There isn’t anything to compare." - weird but worked fine.

Mark Z. Kumler
  • 231
  • 2
  • 4
0

I had the same issue. Adding a title to pr fixed the problem