File tree 4 files changed +57
-0
lines changed
4 files changed +57
-0
lines changed Original file line number Diff line number Diff line change
1
+ options :
2
+ title : ' ## Change Log'
3
+ style : gh-release
4
+ filters :
5
+ # message length >= 12
6
+ - name : msgLen
7
+ minLen : 12
8
+ # message words >= 3
9
+ - name : wordsLen
10
+ minLen : 3
11
+ - name : keywords
12
+ keywords : ['format code']
13
+ exclude : true
14
+
15
+ # not matched will use 'Other' group.
16
+ groups :
17
+ - name : New
18
+ keywords : [add, new]
19
+ - name : Fixed
20
+ startWiths : [add, new]
21
+ keywords : [add, new]
22
+ - name : Feat
23
+ startWiths : [feat]
24
+ keywords : [feature]
25
+ - name : Update
26
+ startWiths : [update, 'up:']
27
+ keywords : [update]
Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : composer
4
+ directory : " /"
5
+ schedule :
6
+ interval : daily
7
+ open-pull-requests-limit : 10
8
+
9
+ - package-ecosystem : " github-actions"
10
+ directory : " /"
11
+ schedule :
12
+ # Check for updates to GitHub Actions every weekday
13
+ interval : " daily"
Original file line number Diff line number Diff line change 4
4
5
5
.idea /
6
6
.phpintel /
7
+ .phpdoc /
8
+ docs /api /
7
9
caches /
8
10
vendor /
9
11
! README.md
Original file line number Diff line number Diff line change @@ -670,6 +670,21 @@ public function getConfig(): array
670
670
return $ this ->config ;
671
671
}
672
672
673
+ /**
674
+ * @param string $name
675
+ * @param array $default
676
+ *
677
+ * @return array
678
+ */
679
+ public function getArrayParam (string $ name , array $ default = []): array
680
+ {
681
+ if (isset ($ this ->config [$ name ])) {
682
+ return (array )$ this ->config [$ name ];
683
+ }
684
+
685
+ return $ default ;
686
+ }
687
+
673
688
/**
674
689
* Get config param value
675
690
*
You can’t perform that action at this time.
0 commit comments