Brief description of your issue
There is a known issue where winget-create is unable to create a reference to the repository if the main/master branch is behind by a certain number of commits. To resolve this issue, the user needs to perform the following steps to update the master branch:
git remote add upstream git@github.com:microsoft/winget-pkgs.git
git switch master
git reset upstream/master --hard
git push
Steps to reproduce
Leave the master branch of a forked winget-pkgs repository unchanged until it is behind the upstream/master branch by a large number of commits.
Expected behavior
Pull request should be created
Actual behavior
NotFoundException is thrown and pull request does not get created
Environment
Brief description of your issue
There is a known issue where winget-create is unable to create a reference to the repository if the main/master branch is behind by a certain number of commits. To resolve this issue, the user needs to perform the following steps to update the master branch:
Steps to reproduce
Leave the master branch of a forked winget-pkgs repository unchanged until it is behind the upstream/master branch by a large number of commits.
Expected behavior
Pull request should be created
Actual behavior
NotFoundException is thrown and pull request does not get created
Environment