chore(lib): mark staff as codeowners (#1868)
This commit is contained in:
1 parent
115871c4a2
commit
b0fcc7d0ed
1 file changed
+3
-1
@@ -55,9 +55,11 @@ function maintainersCodeOwners() {
|
|||||||
.join("\n");
|
.join("\n");
|
||||||
}
|
}
|
||||||
async function userstylesStaffCodeOwners() {
|
async function userstylesStaffCodeOwners() {
|
||||||
const paths = ["/.github/", "/scripts/", "/template/"];
|
const paths = ["/.github/", "/scripts/", "/template/", "/lib/"];
|
||||||
|
|
||||||
const octokit = getAuthenticatedOctokit();
|
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(
|
const staffMembers = await getUserstylesTeamMembers(
|
||||||
octokit,
|
octokit,
|
||||||
"userstyles-staff",
|
"userstyles-staff",
|
||||||
|
|||||||
Reference in new issue
Block a user