Skip to content

"Check performance" action fails on PRs from repository forks #859

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rg936672 opened this issue Nov 12, 2024 · 0 comments
Open

"Check performance" action fails on PRs from repository forks #859

rg936672 opened this issue Nov 12, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rg936672
Copy link
Contributor

What's the issue?

See e.g. 45fe9f6, where the action failed as it was from https://github.com/rg936672/coreax rather than https://github.com/gchq/coreax.

The error message is:

RequestError [HttpError]: Resource not accessible by integration
    at /home/runner/work/_actions/actions/github-script/v7/dist/index.js:9537:21
Error: Unhandled error: HttpError: Resource not accessible by integration
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  status: 403,
  response: {
    url: 'https://api.github.com/repos/gchq/coreax/issues/858/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: 'Tue, 12 Nov 2024 14:31:28 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': '2C00:86ED8:F[29](https://github.com/gchq/coreax/actions/runs/11799285847/job/32867428578#step:13:30)E04:1DB82A8:673366BF',
      'x-ratelimit-limit': '5000',
      'x-ratelimit-remaining': '4999',
      'x-ratelimit-reset': '1731425488',
      '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/gchq/coreax/issues/858/comments',
    headers: {
      accept: 'application/vnd.github.v3+json',
      'user-agent': 'actions/github-script octokit-core.js/5.0.1 Node.js/20.13.1 (linux; x64)',
      authorization: 'token [REDACTED]',
      'content-type': 'application/json; charset=utf-8'
    },
    body: '{"body":"## Performance review\\n###### Commit `1[30](https://github.com/gchq/coreax/actions/runs/11799285847/job/32867428578#step:13:31)e799` - _Merge 45fe9f66e85eeedd401995b5575c0584d26cacca into 3a951bbaae1a8c2d7fef811c84baf36454fe03f8_\\nNo significant changes to performance.\\n"}',
    request: {
      agent: [Agent],
      fetch: [Function: proxyFetch],
      hook: [Function: bound bound register]
    }
  }
}
@rg936672 rg936672 added the new Something yet to be discussed by development team label Nov 12, 2024
@rg936672 rg936672 mentioned this issue Nov 12, 2024
9 tasks
@tp832944 tp832944 added bug Something isn't working and removed new Something yet to be discussed by development team labels Nov 12, 2024
@tm91236 tm91236 self-assigned this Apr 9, 2025
@tm91236 tm91236 added this to the v1.0.1 milestone Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants