1
0
Fork 0

Disable EGH check '[3] repositories without branches'
Build Docker and Deploy / Build Docker (push) Successful in 16s Details
Build Docker and Deploy / Deploy to Server (push) Successful in 16s Details

This commit is contained in:
Mike Schwörer 2023-12-31 15:20:13 +01:00
parent a75e7b56eb
commit 1010d99fd2
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
1 changed files with 8 additions and 8 deletions

View File

@ -596,14 +596,14 @@ WHERE md1.parent != '' AND check_hash IS NULL", []);
}
}
// ======== [3] repositories without branches ==========
{
$errors = $this->sql_query_assoc_prep("SELECT repositories.*, (SELECT COUNT(*) FROM branches WHERE repositories.id = branches.repo_id) AS branch_count FROM repositories WHERE branch_count = 0", []);
foreach ($errors as $e) {
$result []= "Found repository [".$e['id']."]'".$e['name']."' without any branches";
}
}
# // ======== [3] repositories without branches ==========
# {
# $errors = $this->sql_query_assoc_prep("SELECT repositories.*, (SELECT COUNT(*) FROM branches WHERE repositories.id = branches.repo_id) AS branch_count FROM repositories WHERE branch_count = 0", []);
#
# foreach ($errors as $e) {
# $result []= "Found repository [".$e['id']."]'".$e['name']."' without any branches";
# }
# }
// ======== [4] branches without commits ==========