Github action to auto comment on a new pull request seems to be broken

I just made a tiny contribution to django via a PR on github and I think the new-pull-request-comment-action is broken. See the following output from Fix typo in example code: article -> articles 路 django/django@7b332cc 路 GitHub

Run deborah-digges/new-pull-request-comment-action@224c179a9e23f65ec50ff3240b8716369dc415d7
  with:
    access-token: ***
    message: Hello @{}! Thank you for your contribution 馃挭
[...]  
Request received
New Pull Request..
Commenting
(node:1502) UnhandledPromiseRejectionWarning: HttpError: Resource not accessible by integration
    at /home/runner/work/_actions/deborah-digges/new-pull-request-comment-action/224c179a9e23f65ec50ff3240b8716369dc415d7/node_modules/@octokit/request/dist-node/index.js:66:23
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:1502) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1502) [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.
1 Like

Thanks for the report, see a potential fix.

1 Like