File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ impl CodeownersGenerator {
2121 let file_path = workspace_root. join ( match provider {
2222 VcsProvider :: GitHub => ".github/CODEOWNERS" ,
2323 VcsProvider :: GitLab => ".gitlab/CODEOWNERS" ,
24+ VcsProvider :: Bitbucket => ".bitbucket/CODEOWNERS" ,
2425 _ => "CODEOWNERS" ,
2526 } ) ;
2627
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ mod codeowners {
5252 fn generates_bitbucket ( ) {
5353 let sandbox = load_generator ( VcsProvider :: Bitbucket ) ;
5454
55- assert_snapshot ! ( fs:: read_to_string( sandbox. path( ) . join( "CODEOWNERS" ) ) . unwrap( ) ) ;
55+ assert_snapshot ! ( fs:: read_to_string( sandbox. path( ) . join( ".bitbucket/ CODEOWNERS" ) ) . unwrap( ) ) ;
5656 }
5757
5858 #[ test]
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ The configuration above would generate the following:
8484</TabItem >
8585<TabItem value = " bitbucket" >
8686
87- ``` shell title="CODEOWNERS"
87+ ``` shell title=".bitbucket/ CODEOWNERS"
8888# components
8989/packages/components/src/ @frontend @design-system
9090/packages/components/* .config.js @frontend-infra
@@ -148,7 +148,7 @@ config/ @app-platform
148148</TabItem >
149149<TabItem value = " bitbucket" >
150150
151- ``` shell title="CODEOWNERS"
151+ ``` shell title=".bitbucket/ CODEOWNERS"
152152# (workspace)
153153* @admins
154154config/ @app-platform
@@ -201,6 +201,7 @@ The location of the file is dependent on the configured provider.
201201
202202- GitHub -> `.github/CODEOWNERS`
203203- GitLab -> `.gitlab/CODEOWNERS`
204+ - Bitbucket -> `.bitbucket/CODEOWNERS`
204205- Everything else -> `CODEOWNERS`
205206
206207# ## Why are owners defined in `moon.*` and not an alternative like `OWNERS`?
You can’t perform that action at this time.
0 commit comments