[GH-ISSUE #1982] [Collaborators] notify-pr-review check fails when reviewing a PR #41653

Closed
opened 2026-06-10 02:17:50 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @DrKJeff16 on GitHub (Nov 14, 2025).
Original GitHub issue: https://github.com/rockerBOO/awesome-neovim/issues/1982

Originally assigned to: @rockerBOO on GitHub.

Description

@rockerBOO

#1981's check log
Run actions/github-script@v7
❌ Failed to post comment to PR #1981: Resource not accessible by integration
Error details: 403 Resource not accessible by integration
Available permissions: issues=write; pull_requests=write
RequestError [HttpError]: Resource not accessible by integration
    at /home/runner/work/_actions/actions/github-script/v7/dist/index.js:9537:21
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async eval (eval at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v7/dist/index.js:36187:16), <anonymous>:33:3)
    at async main (/home/runner/work/_actions/actions/github-script/v7/dist/index.js:36285:20) {
  status: 403,
  response: {
    url: 'https://api.github.com/repos/rockerBOO/awesome-neovim/issues/1981/comments',
    status: 403,
    headers: {
      'access-control-allow-origin': '*',
      'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
      'content-encoding': 'gzip',
      'content-security-policy': "default-src 'none'",
      'content-type': 'application/json; charset=utf-8',
      date: 'Fri, 14 Nov 2025 18:03:16 GMT',
      'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
      server: 'github.com',
      'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
      'transfer-encoding': 'chunked',
      vary: 'Accept-Encoding, Accept, X-Requested-With',
      'x-accepted-github-permissions': 'issues=write; pull_requests=write',
      'x-content-type-options': 'nosniff',
      'x-frame-options': 'deny',
      'x-github-api-version-selected': '2022-11-28',
      'x-github-media-type': 'github.v3; format=json',
      'x-github-request-id': '3401:1A3EF1:15DC8B1:5F5917E:69176EE4',
      'x-ratelimit-limit': '5000',
      'x-ratelimit-remaining': '4999',
      'x-ratelimit-reset': '1763146996',
      'x-ratelimit-resource': 'core',
      'x-ratelimit-used': '1',
      'x-xss-protection': '0'
    },
    data: {
      message: 'Resource not accessible by integration',
      documentation_url: 'https://docs.github.com/rest/issues/comments#create-an-issue-comment',
      status: '403'
    }
  },
  request: {
    method: 'POST',
    url: 'https://api.github.com/repos/rockerBOO/awesome-neovim/issues/1981/comments',
    headers: {
      accept: 'application/vnd.github.v3+json',
      'user-agent': 'actions/github-script octokit-core.js/5.0.1 Node.js/20.19.5 (linux; x64)',
      authorization: 'token [REDACTED]',
      'content-type': 'application/json; charset=utf-8'
    },
    body: '{"body":"## ❌ Review Status Update 🔀\\n**PR #1981** has been reviewed by **@DrKJeff16**\\n**Status**: CHANGES REQUESTED\\n**Source**: External fork contribution\\n⚠️ **Action Required**: Please address the review feedback and push updates. The automated system will detect your changes and flag this PR for re-review.\\n*Automated notification by review status tracking system (fork-safe mode)*"}',
    request: {
      agent: [Agent],
      fetch: [Function: proxyFetch],
      hook: [Function: bound bound register]
    }
  }
}
Error: Unhandled error: HttpError: Resource not accessible by integration

Should we keep ignoring it? Or should we address this?

Originally created by @DrKJeff16 on GitHub (Nov 14, 2025). Original GitHub issue: https://github.com/rockerBOO/awesome-neovim/issues/1982 Originally assigned to: @rockerBOO on GitHub. ## Description @rockerBOO <details> <summary><a href="https://github.com/rockerBOO/awesome-neovim/pull/1981">#1981</a>'s check log</summary> ``` Run actions/github-script@v7 ❌ Failed to post comment to PR #1981: Resource not accessible by integration Error details: 403 Resource not accessible by integration Available permissions: issues=write; pull_requests=write RequestError [HttpError]: Resource not accessible by integration at /home/runner/work/_actions/actions/github-script/v7/dist/index.js:9537:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async eval (eval at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v7/dist/index.js:36187:16), <anonymous>:33:3) at async main (/home/runner/work/_actions/actions/github-script/v7/dist/index.js:36285:20) { status: 403, response: { url: 'https://api.github.com/repos/rockerBOO/awesome-neovim/issues/1981/comments', status: 403, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', 'content-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Fri, 14 Nov 2025 18:03:16 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'github.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'transfer-encoding': 'chunked', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'issues=write; pull_requests=write', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '3401:1A3EF1:15DC8B1:5F5917E:69176EE4', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4999', 'x-ratelimit-reset': '1763146996', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '1', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/issues/comments#create-an-issue-comment', status: '403' } }, request: { method: 'POST', url: 'https://api.github.com/repos/rockerBOO/awesome-neovim/issues/1981/comments', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'actions/github-script octokit-core.js/5.0.1 Node.js/20.19.5 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"## ❌ Review Status Update 🔀\\n**PR #1981** has been reviewed by **@DrKJeff16**\\n**Status**: CHANGES REQUESTED\\n**Source**: External fork contribution\\n⚠️ **Action Required**: Please address the review feedback and push updates. The automated system will detect your changes and flag this PR for re-review.\\n*Automated notification by review status tracking system (fork-safe mode)*"}', request: { agent: [Agent], fetch: [Function: proxyFetch], hook: [Function: bound bound register] } } } Error: Unhandled error: HttpError: Resource not accessible by integration ``` </details> Should we keep ignoring it? Or should we address this?
GiteaMirror added the bugmaintenance labels 2026-06-10 02:17:51 -05:00
Author
Owner

@rockerBOO commented on GitHub (Nov 14, 2025):

Feel free to remove it. I was running into issues once third parties would add issues since it doesn't have permissions to do what it needs to. it should be adding a comment to the PR saying you reviewed it here, to let the PR submitter know. Maybe it can be a minor change to the permissions to get it to work but i think it won't work with third parties.

<!-- gh-comment-id:3534157433 --> @rockerBOO commented on GitHub (Nov 14, 2025): Feel free to remove it. I was running into issues once third parties would add issues since it doesn't have permissions to do what it needs to. it should be adding a comment to the PR saying you reviewed it here, to let the PR submitter know. Maybe it can be a minor change to the permissions to get it to work but i think it won't work with third parties.
Author
Owner

@DrKJeff16 commented on GitHub (Nov 14, 2025):

@rockerBOO Just for clarification, the whole file? Or that step alone?

Since I don't do JS at all I think I'll remove it indeed since I'm not qualified to fix it (if that's even possible to begin with).

@Penaz91 Thoughts?

<!-- gh-comment-id:3534189922 --> @DrKJeff16 commented on GitHub (Nov 14, 2025): @rockerBOO Just for clarification, the whole file? Or that step alone? Since I don't do JS at all I think I'll remove it indeed since I'm not qualified to fix it (if that's even possible to begin with). @Penaz91 Thoughts?
Author
Owner

@Penaz91 commented on GitHub (Nov 14, 2025):

I'm okay with removing that action, it clutters everyone's email with its failures.

<!-- gh-comment-id:3534207144 --> @Penaz91 commented on GitHub (Nov 14, 2025): I'm okay with removing that action, it clutters everyone's email with its failures.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-neovim#41653