From f6e5525b51d5928d6062cdfca420a0c7b19a3e89 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 f45373c063cc10c..f0801145ff45a1e 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'));