Skip to content

Commit 5a54e0d

Browse files
authored
Add copilot as a valid Docs team actor (#55857)
1 parent ea5846a commit 5a54e0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/workflows/projects.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ export async function addItemToProject(item: string, project: string) {
9494
// Given a GitHub login, returns a bool indicating
9595
// whether the login is part of the docs team
9696
export async function isDocsTeamMember(login: string) {
97-
// Returns true if login is docs-bot, to bypass the checks and make PRs opened by docs-bot be treated as though they were made by a docs team member
98-
if (login === 'docs-bot') {
97+
// Returns true if login is docs-bot or copilot, to bypass the checks and make PRs opened by docs-bot or copilot be treated as though they were made by a docs team member
98+
if (login === 'docs-bot' || login === 'copilot') {
9999
return true
100100
}
101101
// Get all members of the docs team

0 commit comments

Comments
 (0)