PR Benchmark Bot GH creds failure

Open
#1,980 0 comments 0 reactions 1 assignee View on GitHub

@CarnaViire is already working on this.

Since Apr 25, 2024.

Assessment

This issue has not been assessed yet.

Description

Error on publishing comments, e.g. with benchmark results (log)

...
Publishing results
An error occurred: Octokit.AuthorizationException: Bad credentials
   at Octokit.Connection.HandleErrors(IResponse response) in /_/Octokit/Http/Connection.cs:line 785
   at Octokit.Connection.RunRequest(IRequest request, CancellationToken cancellationToken, Func`2 preprocessResponseBody) in /_/Octokit/Http/Connection.cs:line 766
   at Octokit.Connection.Run[T](IRequest request, CancellationToken cancellationToken, Func`2 preprocessResponseBody) in /_/Octokit/Http/Connection.cs:line 751
   at Octokit.ApiConnection.Post[T](Uri uri, Object data, String accepts, String contentType, CancellationToken cancellationToken)
   at Microsoft.Crank.PullRequestBot.Program.Controller(BotOptions options) in D:\a\_work\1\crank\src\Microsoft.Crank.PullRequestBot\Program.cs:line 348
{"message":"Bad credentials","documentation_url":"[https://docs.github.com/rest"}](https://docs.github.com/rest%22%7D)
Unhandled exception: Octokit.AuthorizationException: Bad credentials
   at Octokit.Connection.HandleErrors(IResponse response) in /_/Octokit/Http/Connection.cs:line 785
...
Dominant language
C#
Stars
1.2k
Forks
244
Avg merge
4d 4h
Merged PRs (30d)
7

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aspnet/Benchmarks

All issues in aspnet/Benchmarks

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.