diff --git a/scripts/generate/main.ts b/scripts/generate/main.ts index 4293e37f5e..2f67575e25 100755 --- a/scripts/generate/main.ts +++ b/scripts/generate/main.ts @@ -55,9 +55,11 @@ function maintainersCodeOwners() { .join("\n"); } async function userstylesStaffCodeOwners() { - const paths = ["/.github/", "/scripts/", "/template/"]; + const paths = ["/.github/", "/scripts/", "/template/", "/lib/"]; const octokit = getAuthenticatedOctokit(); + // Set codeowners to include each member of the userstyles-staff team specifically instead of the team as a whole, + // to require individual reviews from each member instead of just one on behalf of the team. const staffMembers = await getUserstylesTeamMembers( octokit, "userstyles-staff",