nushell: 0.60 Winget auto-release failed

Describe the bug

Submitting pull request for manifest...
[92](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:92)

[93](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:93)
Octokit.NotFoundException: Not Found
[94](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:94)
   at Octokit.Connection.HandleErrors(IResponse response)
[95](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:95)
   at Octokit.Connection.RunRequest(IRequest request, CancellationToken cancellationToken)
[96](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:96)
   at Octokit.Connection.Run[T](IRequest request, CancellationToken cancellationToken)
[97](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:97)
   at Octokit.ApiConnection.Post[T](Uri uri, Object data, String accepts, String contentType, CancellationToken cancellationToken)
[98](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:98)
   at Microsoft.WingetCreateCore.Common.GitHub.<>c__DisplayClass19_0.<<SubmitPRAsync>b__1>d.MoveNext()
[99](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:99)
--- End of stack trace from previous location ---
[100](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:100)
   at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
[101](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:101)
--- End of stack trace from previous location ---
[102](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:102)
   at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
[103](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:103)
   at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
[104](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:104)
   at Microsoft.WingetCreateCore.Common.GitHub.SubmitPRAsync(String packageId, String version, Dictionary`2 contents, Boolean submitToFork)
[105](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:105)
   at Microsoft.WingetCreateCore.Common.GitHub.SubmitPRAsync(String packageId, String version, Dictionary`2 contents, Boolean submitToFork)
[106](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:106)
   at Microsoft.WingetCreateCLI.Commands.BaseCommand.GitHubSubmitManifests(Manifests manifests)
[107](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:107)
   at Microsoft.WingetCreateCLI.Commands.UpdateCommand.ExecuteManifestUpdate(List`1 latestManifestContent, CommandExecutedEvent commandEvent)
[108](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:108)
   at Microsoft.WingetCreateCLI.Commands.UpdateCommand.Execute()
[109](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:109)
   at Microsoft.WingetCreateCLI.Program.Main(String[] args)
[110](https://github.com/nushell/nushell/runs/5651207700?check_suite_focus=true#step:2:110)
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/reference/git#create-a-reference"}

How to reproduce

Automatically happens on a release

Expected behavior

This should successfully send information to winget so they can publish an update

Screenshots

No response

Configuration

No response

Additional context

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

@jntrnr It could be linked to this issue. A workaround is suggested here. Could you try it by updating your fork of winget packages repository if it’s your PAT that is used (sorry I don’t remember if it’s yours or someone else)?