You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, only approved PRs can trigger CI. However, this is unpractical because I often LGTM things to see what’s the state in CI (sorry, I’m lazy).
Is it possible to improve our automation to know on which commit the request-ci label was applied to, and if this was applied by a collaborator, trust it?
I think I suggested somewhere in https://github.com/nodejs/node-core-utils/issues that we could just allow it in the CI if the commit to test was pushed by a collaborator. In any case the logic needs to happen in there..
To start a CI from the CLI, ncu-ci run <url-of-the-commit-to-test> does the job, e.g. ncu-ci run https://github.com/nodejs/node/pull/62379/commits/ccc837f89e282530e44348d5e6ec3f32058fcd44
Is it possible to improve our automation to know on which commit the request-ci label was applied to
No it's not possible, GH API does not give us that information.
In nodejs/node-core-utils#920, I have worked on making it work by parsing comments (so if a collaborator comments @nodejs-github-bot test ccc837f89e282530e44348d5e6ec3f32058fcd44, the CI would know to trust that commit), but it's actually more work for the collaborator than using the CLI, and using GH comments is not very elegant (sends notifications to everyone subscribed, can be edited, no auto-complete so easy to mess up syntax, etc)
Activity
jasnell commentedon Mar 29, 2026
For this I would usually just launch the ci job manually.
panva commentedon Mar 29, 2026
If you can be bothered to do this from a console
joyeecheung commentedon Mar 30, 2026
I think I suggested somewhere in https://github.com/nodejs/node-core-utils/issues that we could just allow it in the CI if the commit to test was pushed by a collaborator. In any case the logic needs to happen in there..
aduh95 commentedon Mar 30, 2026
To start a CI from the CLI,
ncu-ci run <url-of-the-commit-to-test>does the job, e.g.ncu-ci run https://github.com/nodejs/node/pull/62379/commits/ccc837f89e282530e44348d5e6ec3f32058fcd44aduh95 commentedon Mar 30, 2026
No it's not possible, GH API does not give us that information.
In nodejs/node-core-utils#920, I have worked on making it work by parsing comments (so if a collaborator comments
@nodejs-github-bot test ccc837f89e282530e44348d5e6ec3f32058fcd44, the CI would know to trust that commit), but it's actually more work for the collaborator than using the CLI, and using GH comments is not very elegant (sends notifications to everyone subscribed, can be edited, no auto-complete so easy to mess up syntax, etc)aduh95 commentedon Mar 31, 2026
I've opened #62524 which should already improve the UX
tools: allow triagers to queue a PR for CI until it's reviewed
tools: allow triagers to queue a PR for CI until it's reviewed
tools: allow triagers to queue a PR for CI until it's reviewed
tools: allow triagers to queue a PR for CI until it's reviewed