question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pyup not taking the default set branch in Github

See original GitHub issue

Private repository (private access enabled obviously). I pushed a new branch ‘develop’ to my repository and changed it to be the default. I closed a pull request and deleted the branch, however the new PR was still against the old ‘master’ branch (which is no longer default and has been set to be a protected branch). I have tried removing the repository from pyup.io and re-adding it and I still got the same behavior.

I had to add a .pyup.yml file with branch = develop to get the correct behavior but the docs state that pyup makes PR’s against the default branch on the repository (usually master)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
achaussiercommented, May 25, 2017

Hello,

FYI, this also occurs with public repositories.

0reactions
Azulinhocommented, Dec 21, 2018

similar problem here, I had to create a master branch with only the .pyup.yml file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changing the default branch - GitHub Docs
Under your repository name, click Settings. Repository settings button. In the "Code and automation" section of the sidebar, click Branches.
Read more >
Github Desktop won't update Default Branch to main #13669
Default should not point to a branch that doesn't exist. It should match whatever the remote repository points to.
Read more >
DefaultBranch is not set correctly when using template which ...
Create a new repository and select the previously made template with "Git Content(Default Branch)" checked; Open the "Branches" page on the new ...
Read more >
Managing the default branch name for repositories in your ...
Under "Repository default branch", click Change default branch name now. Type the default name that you would like to use for new branches....
Read more >
Default Branch does not Update · Issue #5709 · desktop/desktop
Steps to Reproduce. Have a private GitHub repo with a default branch dev; Create another branch named develop; Change the settings of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found