code-owner-self-merge icon indicating copy to clipboard operation
code-owner-self-merge copied to clipboard

Crash when commenting/merging

Open orta opened this issue 5 years ago • 1 comments

In https://github.com/microsoft/TypeScript-Website/pull/978 - here

Looking at the pull_request_review from sasurau4 in 'Translate 3 tsconfig files to ja' to see if we can merge

Changed files: 
 - /packages/tsconfig-reference/copy/ja/categories/Watch_Options_999.md
 - /packages/tsconfig-reference/copy/ja/intro.md
 - /packages/tsconfig-reference/copy/ja/options/fallbackPolling.md
Creating comments and merging
(node:2717) UnhandledPromiseRejectionWarning: HttpError: Resource not accessible by integration
    at /home/runner/work/_actions/orta/code-owner-self-merge/master/node_modules/@octokit/request/dist-node/index.js:66:23
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async mergeIfLGTMAndHasAccess (/home/runner/work/_actions/orta/code-owner-self-merge/master/index.js:123:5)
(node:2717) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2717) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Looks like a GitHub auth issue, but nothing changed on our side. I think?

orta avatar Oct 21 '20 16:10 orta

Encountered this when testing out a bug fix. Roughly, I:

  • Did several reviews (requesting changes, accepting changes with no comment)
  • Writing "LGTM" several times, then deleting those comments
  • Writing LGTM again

In between some of those steps, I pushed code to the code-owner-self-merge branch that I specified in uses of the GitHub Workflow. (I suspect this may be the cause).

Not sure if the error cause is the same, but I am also receiving the error: Error: HttpError: Resource not accessible by integration

EDIT:

Also ran into this the other day. Action Run, PR

hyperupcall avatar Feb 18 '25 01:02 hyperupcall