actions / github-script

Write workflows scripting the GitHub API in JavaScript
MIT License
4.24k stars 424 forks source link

docs: add permission instructions for `createComment` #488

Open RSS1102 opened 2 months ago

RSS1102 commented 2 months ago

I have seen many people asking why the Resource not accessible by integration error occurred during the rest.issues.createComment . I think the attention points for this issue should be reflected in the documentation. (Unfortunately, I also encountered it, and I always thought it was an error in my secret configuration, which wasted a lot of time,It wasn't until I found the answer here and tried that I got the correct workflow running result. https://github.com/actions/github-script/issues/42#issuecomment-1009592629)