-
-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Description
More explicit failure if running on a PR created from a fork
Run peter-evans/create-or-update-comment@v5
/home/runner/work/_actions/peter-evans/create-or-update-comment/v5/dist/index.js:7474
const error = new import_request_error.RequestError(toErrorMessage(data), status, {
^
RequestError [HttpError]: Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment
at /home/runner/work/_actions/peter-evans/create-or-update-comment/v5/dist/index.js:7474:21
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
status: 403,
response: {
url: 'https://api.github.com/repos/openfoodfacts/smooth-app/issues/7179/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: 'Sun, 09 Nov 2025 15:51:37 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': XXXXX
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4728',
'x-ratelimit-reset': '1762703579',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '272',
'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/openfoodfacts/smooth-app/issues/7179/comments',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'octokit-core.js/5.2.0 Node.js/24',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"body":"## 🔍 Translation Validation Report\\n\\nThis is an automated check of translation quality. Issues found are informational and don't block the PR.\\n\\n### ✅ No Issues Found\\n\\nAll translations look good!\\n"}`,
request: {
agent: Agent {
_events: [Object: null prototype] {
free: [Function (anonymous)],
newListener: [Function: maybeEnableKeylog]
},
_eventsCount: 2,
_maxListeners: undefined,
options: [Object: null prototype] {
keepAlive: false,
maxSockets: 100,
defaultPort: 443,
protocol: 'https:',
noDelay: true,
path: null
},
defaultPort: 443,
protocol: 'https:',
requests: [Object: null prototype] {},
sockets: [Object: null prototype] {},
freeSockets: [Object: null prototype] {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: 100,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 0,
agentKeepAliveTimeoutBuffer: 1000,
maxCachedSessions: 100,
_sessionCache: { map: {}, list: [] },
Symbol(shapeMode): false,
Symbol(kCapture): false
},
fetch: [Function: proxyFetch],
hook: [Function: bound bound register]
}
}
}
Node.js v24.10.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels