From 040aeda1e718341d559cdacccbf9c6178f78ddc5 Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Sat, 22 Nov 2025 11:54:25 -0500 Subject: [PATCH] ci/github-script/bot: log author of pull request Should help debug "Review cannot be requested from pull request author." in https://github.com/NixOS/nixpkgs/actions/runs/19591357890/job/56110301046#step:6:4726. --- ci/github-script/bot.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/github-script/bot.js b/ci/github-script/bot.js index feab0629527b..7d279c42c46e 100644 --- a/ci/github-script/bot.js +++ b/ci/github-script/bot.js @@ -152,6 +152,8 @@ module.exports = async ({ github, context, core, dry }) => { }) ).data + log('author', pull_request.user?.login) + const maintainers = await getMaintainerMap(pull_request.base.ref) const merge_bot_eligible = await handleMerge({