feat: add mergeability checks to summary view

This commit is contained in:
Jakub F. Bortlík
2026-02-26 10:14:57 +01:00
parent 3d2828a950
commit 250ba35a49
10 changed files with 349 additions and 11 deletions

View File

@@ -22,6 +22,7 @@ local health = require("gitlab.health")
local user = state.dependencies.user
local info = state.dependencies.info
local mergeability = state.dependencies.mergeability
local labels_dep = state.dependencies.labels
local project_members = state.dependencies.project_members
local latest_pipeline = state.dependencies.latest_pipeline
@@ -62,6 +63,7 @@ return {
setup = setup,
summary = async.sequence({
u.merge(info, { refresh = true }),
u.merge(mergeability, { refresh = true }),
labels_dep,
}, summary.summary),
approve = async.sequence({ info }, approvals.approve),