Skip to content

Commit

Permalink
feat: Add support for bitbucket CODEOWNERS location (#29502)
Browse files Browse the repository at this point in the history
  • Loading branch information
RadikalJin committed Jun 7, 2024
1 parent be93ca7 commit e15ffd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/workers/repository/update/pr/code-owners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export async function codeOwnersForPr(pr: Pr): Promise<string[]> {
// 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'));
Expand Down

0 comments on commit e15ffd1

Please sign in to comment.