|
1 | 1 | <?php |
2 | 2 |
|
3 | 3 | const BRANCHES = [ |
4 | | - ['ref' => 'refs/heads/master', 'version' => [8, 6]], |
5 | | - ['ref' => 'refs/heads/PHP-8.5', 'version' => [8, 5]], |
6 | | - ['ref' => 'refs/heads/PHP-8.4', 'version' => [8, 4]], |
7 | | - ['ref' => 'refs/heads/PHP-8.3', 'version' => [8, 3]], |
8 | | - ['ref' => 'refs/heads/PHP-8.2', 'version' => [8, 2]], |
| 4 | + ['name' => 'master', 'ref' => 'refs/heads/master', 'version' => [8, 6]], |
| 5 | + ['name' => 'PHP-8.5', 'ref' => 'refs/heads/PHP-8.5', 'version' => [8, 5]], |
| 6 | + ['name' => 'PHP-8.4', 'ref' => 'refs/heads/PHP-8.4', 'version' => [8, 4]], |
| 7 | + ['name' => 'PHP-8.3', 'ref' => 'refs/heads/PHP-8.3', 'version' => [8, 3]], |
| 8 | + ['name' => 'PHP-8.2', 'ref' => 'refs/heads/PHP-8.2', 'version' => [8, 2]], |
9 | 9 | ]; |
10 | 10 |
|
11 | 11 | function get_branch_commit_cache_file_path(): string { |
@@ -164,7 +164,7 @@ function select_jobs($repository, $trigger, $nightly, $labels, $php_version, $re |
164 | 164 | $nightly = $trigger === 'schedule' || $trigger === 'workflow_dispatch'; |
165 | 165 | $branches = $nightly && $branch === 'refs/heads/master' |
166 | 166 | ? get_branches() |
167 | | - : [['ref' => $branch, 'version' => get_current_version()]]; |
| 167 | + : [['name' => 'Suite', 'ref' => $branch, 'version' => get_current_version()]]; |
168 | 168 |
|
169 | 169 | $labels = json_decode($argv[4] ?? '[]', true) ?? []; |
170 | 170 | $labels = array_column($labels, 'name'); |
|
0 commit comments