actions-label-commenter icon indicating copy to clipboard operation
actions-label-commenter copied to clipboard

bug: Process terminate with UnhandledPromiseRejectionWarning

Open peaceiris opened this issue 4 years ago • 0 comments

Checklist

  • [X] I am using the latest version of this action.
  • [X] I have read the latest README and followed the instructions.
  • [X] I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.
  • [X] I have set RUNNER_DEBUG: 1 for debugging.

Describe the bug

https://github.com/peaceiris/playground-actions/runs/3775245839?check_suite_focus=true

Relevant links

Public repository:
YAML config:
YAML workflow: https://github.com/peaceiris/playground-actions/blob/b33d7022d0c03b1ab7cb840bd63db625dc09f382/.github/workflows/label-commenter.yml

Relevant log output

Run peaceiris/actions-label-commenter@c2d00660c86f2b9ed0fb35b372c451558eba85b3
(node:1492) UnhandledPromiseRejectionWarning: Error: Resource not accessible by integration
    at Issue.convertPullRequestToDraft (/home/runner/work/_actions/peaceiris/actions-label-commenter/c2d00660c86f2b9ed0fb35b372c451558eba85b3/webpack:/actions-label-commenter/src/classes/issue.ts:200:1)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:1492) 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)
Version 6a5e75862c79ac87748dc7e71c43b7ab5cb0def0
Usage peaceiris/actions-label-commenter#readme
Dump GitHub context
...

Additional context.

peaceiris avatar Oct 02 '21 07:10 peaceiris