nushell: Winget automatic release for 0.35 failed
Describe the Bug
From the CI:
Manifest saved to D:\a\nushell\nushell\manifests\n\Nushell\Nushell\0.35.0
Manifest validation succeeded: True
Submitting pull request for manifest...
Octokit.ForbiddenException: Must have admin rights to Repository.
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.Connection.Delete(Uri uri)
at Microsoft.WingetCreateCore.Common.GitHub.SubmitPRAsync(String packageId, String version, Dictionary`2 contents, Boolean submitToFork)
at Microsoft.WingetCreateCLI.Commands.BaseCommand.GitHubSubmitManifests(Manifests manifests, String token)
at Microsoft.WingetCreateCLI.Commands.UpdateCommand.ExecuteManifestUpdate(List`1 latestManifestContent, CommandExecutedEvent commandEvent)
at Microsoft.WingetCreateCLI.Commands.UpdateCommand.Execute()
at Microsoft.WingetCreateCLI.Program.Main(String[] args)
{"message":"Must have admin rights to Repository.","documentation_url":"https://docs.github.com/rest/reference/repos#delete-a-repository"}
Error: Process completed with exit code 1.
To Reproduce
Release on CI
Expected behavior
The release action should post to winget repo successfully
Screenshots
No response
Configuration
No response
Additional Context
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 22 (15 by maintainers)
ya, it stinks @TechWatching . You’re trying so hard and we truely appreciate it. Thanks! btw - i am an admin on the repo so it’s uber strange if @jntrnr 's works and my pat doesn’t. Mine was created like this last time.