Should mention that the endpoint can be disabled.
{
"message": "Resource not accessible by integration",
"documentation_url": "https://docs.github.com/rest/commits/comments#create-a-commit-comment",
"status": "403"
}
(I disabled commit comments on this one repository for testing and reran the job to get a response.)
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/rest/commits/comments?apiVersion=2026-03-10#create-a-commit-comment
https://docs.github.com/en/rest/guides/working-with-comments?apiVersion=2022-11-28#commit-comments
What part(s) of the article would you like to see updated?
HTTP response status codes for "Create a commit comment"
Should mention that the endpoint can be disabled.
Additional information
Here's an example: https://github.com/check-spelling-sandbox/Viceroy/actions/runs/24851488140/job/72761491315#step:2:1359
(I disabled commit comments on this one repository for testing and reran the job to get a response.)