File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ function isBranchNameValid(branchName) {
88 / ^ ( d e p e n d a b o t ) \/ ( [ a - z ] [ a - z A - Z 0 - 9 . / _ - ] * ) $ / . test ( branchName ) ||
99 / ^ ( r e n o v a t e ) \/ ( [ a - z 0 - 9 _ \- @ . / _ - ] * ) $ / . test ( branchName ) ||
1010 / ^ ( c o p i l o t ) \/ ( [ a - z 0 - 9 _ \- @ . / _ - ] * ) $ / . test ( branchName ) ||
11+ / ^ ( c l a u d e ) \/ ( [ a - z 0 - 9 _ \- @ . / _ - ] * ) $ / . test ( branchName ) ||
1112 / ^ c r o w d i n \/ u p d a t e - t r a n s l a t i o n s $ / . test ( branchName )
1213 ) ;
1314}
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ describe("branch", () => {
2121 "renovate/tanstack-table-monorepo" ,
2222 "renovate/mobsuccess-devops-dlpo-react-client-1.x" ,
2323 "crowdin/update-translations" ,
24+ "claude/foo" ,
2425 ] ) ( "Test branch %s should be valid" , ( branch ) => {
2526 expect ( isBranchNameValid ( branch ) ) . toBe ( true ) ;
2627 } ) ;
You can’t perform that action at this time.
0 commit comments