-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels