https://pulumi.com logo
#general
Title
# general
l

little-cartoon-10569

11/09/2021, 2:13 AM
How can I diagnose why the GitHub action cannot edit my PR comment?
Each time I update the PR, it rebuilds and adds a new comment. I don't have
edit-pr-comment
explicitly set, so it's defaulting to true. I'm seeing this error in the action output:
Copy code
Warning: Not able to edit comment, defaulting to creating a new comment.
(node:1761) UnhandledPromiseRejectionWarning: HttpError: Resource not accessible by integration
    at /home/runner/work/_actions/pulumi/actions/v3.11.0/webpack:/pulumi-github-action/node_modules/@octokit/request/dist-node/index.js:66:1
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
Do I need to add a permission to the action / GitHub token?
52 Views