diff --git a/ci/github-script/bot.js b/ci/github-script/bot.js index 415593c7aec4..f812df3c565f 100644 --- a/ci/github-script/bot.js +++ b/ci/github-script/bot.js @@ -121,6 +121,11 @@ module.exports = async ({ github, context, core, dry }) => { return [] } + // Forks don't have NixOS teams, return empty list + if (isFork) { + return [] + } + if (!members[team_slug]) { members[team_slug] = github.paginate(github.rest.teams.listMembersInOrg, { org: context.repo.owner,