ci/github-script/bot: fix collaborator warning

This was introduced shortly before merge of the reviewers.js file, but
not actually tested - I thought it was not easy to find a PR triggering
this warning. However, the scheduled run told me otherwise: The
staging-next PR is the perfect candidate.
This commit is contained in:
Wolfgang Walther
2025-11-06 10:18:21 +01:00
parent 62dab73c6a
commit d76ffa4136

View File

@@ -55,7 +55,7 @@ async function handleReviewers({
return username
} catch (e) {
if (e.status !== 404) throw e
core.warn(
core.warning(
`PR #${pull_number}: User ${username} cannot be requested for review because they don't exist or are not a repository collaborator, ignoring. They probably missed the automated invite to the maintainers team (see <https://github.com/NixOS/nixpkgs/issues/234293>).`,
)
}