Skip to content

github.rest.issues.createComment results in "Resource not accessible by integration" error #490

Answered by joshmgross
jprider63 asked this question in Q&A
Discussion options

You must be logged in to vote

Pull Requests workflows from forks can't utilize write permissions, which is why you're getting a failure. You can see the effective permissions for a job in the "Set up job" step logs.

pull_request_target is likely the event you want, but please read through the full documentation to understand the security risks. If you have any questions about that, feel free to ask!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by joshmgross
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants