From e15ffd18400c8cefb9801771fe0cb632e6db78b5 Mon Sep 17 00:00:00 2001 From: Joseph Hoare Date: Fri, 7 Jun 2024 11:46:55 +0100 Subject: [PATCH] feat: Add support for bitbucket CODEOWNERS location (#29502) --- lib/workers/repository/update/pr/code-owners.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/workers/repository/update/pr/code-owners.ts b/lib/workers/repository/update/pr/code-owners.ts index f45373c063cc10..f0801145ff45a1 100644 --- a/lib/workers/repository/update/pr/code-owners.ts +++ b/lib/workers/repository/update/pr/code-owners.ts @@ -81,6 +81,7 @@ export async function codeOwnersForPr(pr: Pr): Promise { // Find CODEOWNERS file const codeOwnersFile = (await readLocalFile('CODEOWNERS', 'utf8')) ?? + (await readLocalFile('.bitbucket/CODEOWNERS', 'utf8')) ?? (await readLocalFile('.github/CODEOWNERS', 'utf8')) ?? (await readLocalFile('.gitlab/CODEOWNERS', 'utf8')) ?? (await readLocalFile('docs/CODEOWNERS', 'utf8'));