This repository was archived by the owner on Apr 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
This repository was archived by the owner on Apr 24, 2024. It is now read-only.
Readthedocs preview action throws RequestError[HttpError] when executed from a fork #58
Copy link
Copy link
Open
Description
Temporary fix is to just create a temporary PR with the same commits in this repo like I did in #57
Error message in https://github.com/lab-cosmo/equisolve/actions/runs/5603075530/jobs/10249186163
Run actions/github-script@v6
RequestError [HttpError]: Resource not accessible by integration
at /home/runner/work/_actions/actions/github-script/v6/dist/index.js:6842:21
Error: Unhandled error: HttpError: Resource not accessible by integration
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
status: 403,
response: {
url: 'https://api.github.com/repos/lab-cosmo/equisolve/pulls/55',
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',
connection: 'close',
'content-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 19 Jul 2023 19:08:58 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-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': '2481:45F5:1C37CC0:3944F6A:64B834CA',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '998',
'x-ratelimit-reset': '1689797338',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '2',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/pulls/pulls#update-a-pull-request'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/lab-cosmo/equisolve/pulls/55',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'actions/github-script octokit-core.js/3.6.0 Node.js/16.16.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"\\r\\n\\r\\n<!-- readthedocs-preview equisolve start -->\\r\\n----\\n:books: Documentation preview :books:: https://equisolve--55.org.readthedocs.build/en/55/\\n\\r\\n<!-- readthedocs-preview equisolve end -->"}',
request: { agent: [Agent], hook: [Function: bound bound register] }
}
}
Metadata
Metadata
Assignees
Labels
No labels