code-owner-self-merge
code-owner-self-merge copied to clipboard
Crash when commenting/merging
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?
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