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)
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)