-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathGitHub.php
More file actions
44 lines (39 loc) · 1.19 KB
/
GitHub.php
File metadata and controls
44 lines (39 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
namespace Config;
use CodeIgniter\Config\BaseConfig;
class GitHub extends BaseConfig
{
/**
* Cache expiration time for GitHub data
*
* @var int
*/
public $expires = HOUR * 4;
/**
* Repository paths
*
* @var array<string,string[]> In the format [organization, repository]
*/
public $repos = [
'framework3' => ['bcit-ci', 'CodeIgniter'],
'framework4' => ['codeigniter4', 'framework'],
'codeigniter4' => ['codeigniter4', 'CodeIgniter4'],
'translations3' => ['bcit-ci', 'codeigniter3-translations'],
'translations4' => ['codeigniter4', 'translations'],
'website3' => ['bcit-ci', 'codeigniter-website'],
'website4' => ['codeigniter4projects', 'website'],
'shield' => ['codeigniter4', 'shield'],
'settings' => ['codeigniter4', 'settings'],
'tasks' => ['codeigniter4', 'tasks'],
'cache' => ['codeigniter4', 'cache'],
'devkit' => ['codeigniter4', 'devkit'],
];
/**
* List of repos that track releases via tags
*
* @var string[]
*/
public $tagged = [
'framework3',
];
}