Repository navigation
Fix CI workflows for pull requests from forks - #526
Conversation
PR Summary by QodoFix GitHub Actions CI for fork pull requests (no vars/secrets)
AI Description
Diagram
High-Level Assessment
Files changed (4)
|
Code Review by Qodo
1.
|
There was a problem hiding this comment.
🚨 @w1am Failed to create cherry Pick PR due to error:
RequestError [HttpError]: Resource not accessible by integration
at /home/runner/work/_actions/kurrent-io/Automations/master/cherry-pick-pr-for-label/node_modules/@octokit/request/dist-node/index.js:66:23
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
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, Warning',
'content-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 12 Aug 2026 12:15:59 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': 'contents=write',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-api-version-selected': '2022-11-28',
'x-github-edge-region': 'sea',
'x-github-media-type': 'github.v3; format=json',
'x-github-request-id': '4028:57C74:2ECBBDC:300FE3E:6A7C63FF',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4995',
'x-ratelimit-reset': '1786540556',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '5',
'x-xss-protection': '0'
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/kurrent-io/KurrentDB-Client-NodeJS/merges',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'octokit-core.js/3.3.2 Node.js/24',
authorization: 'bearer [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"base":"cherry-pick-cherry-pick/526/fix-fork-pr-ci-release/v1.3-a21ecf1f-40f1-4cec-b196-f8389854200b","commit_message":"Merge 0b7537d7b001709989b82461ce637e6b67a7fca6 into cherry-pick-cherry-pick/526/fix-fork-pr-ci-release/v1.3-a21ecf1f-40f1-4cec-b196-f8389854200b [skip ci]\\n\\n\\nskip-checks: true\\n","head":"0b7537d7b001709989b82461ce637e6b67a7fca6"}',
request: { agent: [Agent], hook: [Function: bound bound register] }
},
documentation_url: 'https://docs.github.com/rest/branches/branches#merge-a-branch'
}
🚨👉 Check https://github.com/kurrent-io/KurrentDB-Client-NodeJS/actions/runs/31595604054
Fixes DEV-1881
Community contributors currently can't get a green build: CI fails with errors on every pull request opened from a fork (see #505), even after a maintainer approves the run.
With this change, outside contributions work as expected:
This removes a barrier for anyone outside the organization who wants to contribute to the Node.js client, and reviews no longer need workarounds like re-pushing contributor branches internally.