File tree Expand file tree Collapse file tree 4 files changed +57
-0
lines changed Expand file tree Collapse file tree 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 44
55.idea /
66.phpintel /
7+ .phpdoc /
8+ docs /api /
79caches /
810vendor /
911! README.md
Original file line number Diff line number Diff line change @@ -670,6 +670,21 @@ public function getConfig(): array
670670 return $ this ->config ;
671671 }
672672
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+
673688 /**
674689 * Get config param value
675690 *
You can’t perform that action at this time.
0 commit comments