File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed
Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ function isBranchNameValid(branchName) {
66 ! ! branchName . match ( / ^ r e v e r t - ( [ 0 - 9 ] + ) - ( [ a - z 0 - 9 _ \- @ . / _ - ] * ) $ / ) ||
77 ! ! branchName . match ( / ^ ( m o b s u c c e s s b o t ) \/ ( [ a - z 0 - 9 _ \- @ . / _ - ] * ) $ / ) ||
88 ! ! branchName . match ( / ^ ( d e p e n d a b o t ) \/ ( [ a - z ] [ a - z A - Z 0 - 9 . / _ - ] * ) $ / ) ||
9- ! ! branchName . match ( / ^ ( r e n o v a t e ) \/ ( [ a - z 0 - 9 _ \- @ . / _ - ] * ) $ / )
9+ ! ! branchName . match ( / ^ ( r e n o v a t e ) \/ ( [ a - z 0 - 9 _ \- @ . / _ - ] * ) $ / ) ||
10+ ! ! branchName . match ( / ^ ( c o p i l o t ) \/ ( [ a - z 0 - 9 _ \- @ . / _ - ] * ) $ / )
1011 ) ;
1112}
1213
Original file line number Diff line number Diff line change 22 "name" : " github-actions-mobsuccess" ,
33 "version" : " 1.0.0" ,
44 "description" : " Action to validate conformance to Mobsuccess policies" ,
5- "main" : " index.js" ,
6- "scripts" : {
7- "test" : " jest --coverage" ,
8- "prettier" : " prettier --check ." ,
9- "eslint" : " eslint ."
10- },
11- "repository" : {
12- "type" : " git" ,
13- "url" : " https://github.com/mobsuccess-devops/github-actions-mobsuccess"
14- },
155 "keywords" : [
166 " github-actions" ,
177 " git"
188 ],
19- "author" : " Christopher Allène" ,
9+ "repository" : {
10+ "type" : " git" ,
11+ "url" : " https://github.com/mobsuccess-devops/github-actions-mobsuccess"
12+ },
2013 "license" : " UNLICENSED" ,
14+ "author" : " Christopher Allène" ,
15+ "main" : " index.js" ,
16+ "scripts" : {
17+ "eslint" : " eslint ." ,
18+ "prettier" : " prettier --check ." ,
19+ "test" : " jest --coverage"
20+ },
2121 "dependencies" : {
2222 "@actions/core" : " ^1.2.6" ,
2323 "@actions/github" : " ^4.0.0"
You can’t perform that action at this time.
0 commit comments