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

**URL:** <https://forum.djangoproject.com/t/github-action-to-auto-comment-on-a-new-pull-request-seems-to-be-broken/15901>\
**Category:** Django Internals\
**Created:** [September 9, 2022, 2:55pm UTC](https://forum.djangoproject.com/t/github-action-to-auto-comment-on-a-new-pull-request-seems-to-be-broken/15901 "2022-09-09T14:55:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![e11bits](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/e11bits/32/18090_2.png) [@e11bits](https://forum.djangoproject.com/u/e11bits)\
**Post date:** [September 9, 2022, 2:55pm UTC](https://forum.djangoproject.com/t/github-action-to-auto-comment-on-a-new-pull-request-seems-to-be-broken/15901/1 "2022-09-09T14:55:00Z")

</div>

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](https://github.com/django/django/runs/8272151764?check_suite_focus=true)

```auto
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.

```

---

<div class="post-metadata">

**Author:** ![felixxm](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/felixxm/32/2479_2.png) [@felixxm](https://forum.djangoproject.com/u/felixxm)\
**Post date:** [September 15, 2022, 9:19am UTC](https://forum.djangoproject.com/t/github-action-to-auto-comment-on-a-new-pull-request-seems-to-be-broken/15901/2 "2022-09-15T09:19:02Z")

</div>

Thanks for the report, see a [potential fix](https://github.com/django/django/pull/16058).
