GitHub App Cannot Edit Commit Comment

Hi all! I got some weird error when developing my own GitHub app (a Github bot).
My bot works well when I tried to update my comments on a PR/issue. However, when I tried to update commit comment(i.e the “patch” action), I got some trouble. it always shows:

“Resource not accessible by integration”

even after I change my code to some very simple logic. Would you mind give me some advice?

Nevermind, I got it. If anyone else meets this problem, better check the content in your app’s permission and set it to “write and read”.

1 Like