Octokit resource not accessible by integration? #37
Replies: 1 comment
-
|
Same issue indeed. Thanks and please forgive my carelessness. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @Nice3point!
Started a new solution using the solution template. Added a project using the Revit addin project template. Nuke local build runs perfectly. However, github action throws during PublishGitHub. Here is a snippet from the job log. Any suggestions?
13:22:33 [INF] Tag: 1.0.0
13:22:33 [INF] Changelog: D:\a\CleanN3P\CleanN3P\Changelog.md
Error: Target "PublishGitHub" has thrown an exception
13:22:33 [ERR] Target PublishGitHub has thrown an exception
Octokit.ForbiddenException: Resource not accessible by integration
at Octokit.Connection.HandleErrors(IResponse response) in /home/runner/work/octokit.net/octokit.net/Octokit/Http/Connection.cs:line 704
at Octokit.Connection.RunRequest(IRequest request, CancellationToken cancellationToken) in /home/runner/work/octokit.net/octokit.net/Octokit/Http/Connection.cs:line 685
at Octokit.Connection.Run[T](IRequest request, CancellationToken cancellationToken) in /home/runner/work/octokit.net/octokit.net/Octokit/Http/Connection.cs:line 670
at Octokit.ApiConnection.Post[T](Uri uri, Object data, String accepts, String contentType, CancellationToken cancellationToken) in /home/runner/work/octokit.net/octokit.net/Octokit/Http/ApiConnection.cs:line 293
at Build.CreatedDraftAsync(String gitHubOwner, String gitHubName, NewRelease newRelease) in D:\a\CleanN3P\CleanN3P\Build\Build.CI.GitHub.cs:line 50
at Build.<get_PublishGitHub>b__5_5() in D:\a\CleanN3P\CleanN3P\Build\Build.CI.GitHub.cs:line 37
at Nuke.Common.Execution.TargetDefinition.<>c__DisplayClass80_0.b__0() in //source/Nuke.Build/Execution/TargetDefinition.cs:line 73
at Nuke.Common.Execution.BuildExecutor.<>c.b__4_2(Action x) in //source/Nuke.Build/Execution/BuildExecutor.cs:line 119
at System.Collections.Generic.List
1.ForEach(Action1 action)at Nuke.Common.Execution.BuildExecutor.Execute(NukeBuild build, ExecutableTarget target, IReadOnlyCollection`1 previouslyExecutedTargets, Boolean failureMode) in /_/source/Nuke.Build/Execution/BuildExecutor.cs:line 119
{"message":"Resource not accessible by integration","documentation_url":"https://docs.github.com/rest/releases/releases#create-a-release"}
Beta Was this translation helpful? Give feedback.
All reactions