Octokit.NotFoundException: Not Found
at Octokit.Connection.HandleErrors(IResponse response)
at Octokit.Connection.RunRequest(IRequest request, CancellationToken cancellationToken)
at Octokit.Connection.Run[T](IRequest request, CancellationToken cancellationToken)
at Octokit.ApiConnection.Patch[T](Uri uri, Object data)
at Microsoft.WingetCreateCore.Common.GitHub.UpdateForkedRepoWithUpstreamCommits(Repository forkedRepo)
at Microsoft.WingetCreateCore.Common.GitHub.<>c__DisplayClass19_0.<<SubmitPRAsync>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int[32](https://github.com/JanDeDobbeleer/oh-my-posh/runs/7357897751?check_suite_focus=true#step:3:33) permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
at Microsoft.WingetCreateCore.Common.GitHub.SubmitPRAsync(String packageId, String version, Dictionary`2 contents, Boolean submitToFork)
at Microsoft.WingetCreateCore.Common.GitHub.SubmitPRAsync(String packageId, String version, Dictionary`2 contents, Boolean submitToFork)
at Microsoft.WingetCreateCLI.Commands.BaseCommand.GitHubSubmitManifests(Manifests manifests)
at Microsoft.WingetCreateCLI.Commands.SubmitCommand.SubmitManifest()
at Microsoft.WingetCreateCLI.Commands.SubmitCommand.Execute()
at Microsoft.WingetCreateCLI.Program.Main(String[] args)
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/reference/git#update-a-reference"}
Brief description of your issue
Submitting a PR fails with the following error:
Steps to reproduce
Submit a PR ;-)
Expected behavior
It submits the PR
Actual behavior
It fails at submitting the PR
Environment