#add git monitor

This commit is contained in:
2025-12-18 10:18:25 +08:00
parent 2ec44b5665
commit 5f6bba1d9f
18 changed files with 889 additions and 20 deletions

12
config/git-monitor.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
return [
'enabled_projects' => array_values(array_filter(array_map(
'trim',
explode(',', env('GIT_MONITOR_PROJECTS', 'service,portal-be,agent-be'))
))),
'commit_scan_limit' => 30,
'git_timeout' => 180,
];

View File

@@ -45,4 +45,9 @@ return [
'timeout' => env('MONO_TIMEOUT', 30),
],
'dingtalk' => [
'webhook' => env('DINGTALK_WEBHOOK'),
'secret' => env('DINGTALK_SECRET'),
],
];