github-bot icon indicating copy to clipboard operation
github-bot copied to clipboard

GitHub bot commenting on wrong repository if different than nodejs/node

Open mmarchini opened this issue 5 years ago • 2 comments

Started a Jenkins CI for https://github.com/nodejs/node-auto-test/pull/19, the bot commented on https://github.com/nodejs/node/issues/19#issuecomment-650532924.

mmarchini avatar Jun 27 '20 09:06 mmarchini

This is (mainly) a build issue. See https://github.com/nodejs/build/issues/2166#issuecomment-539711522. It will involve updating every node-test-commit-* job to pass the REPO parameter through to the pipeline that triggers the bot.

(As an aside, I think the bot is hardcoded to use the nodejs org: https://github.com/nodejs/github-bot/blob/b5904f9a624300fb36f42ef12779f8591aba5490/scripts/jenkins-status.js#L46)

richardlau avatar Jun 27 '20 12:06 richardlau

The bot expects the repo parameter, so we should probably do it (although for the comment maybe only node-test-pull-request needs updating?). There's no easy way to update those jobs, right?

mmarchini avatar Jun 27 '20 18:06 mmarchini