mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 03:29:43 +02:00
fix: builds UI
This commit is contained in:
1 parent
dee4f2470b
commit
6531738b2e
3 files changed
+10
-3
No files matched your search
+8
-2
@@ -105,8 +105,14 @@ func updateRepoRunsNumbers(ctx context.Context, repo *repo_model.Repository) err
|
||||
builder.Select("count(*)").From("bots_run").
|
||||
Where(builder.Eq{
|
||||
"repo_id": repo.ID,
|
||||
"status": StatusFailure,
|
||||
},
|
||||
}.And(
|
||||
builder.In("status",
|
||||
StatusSuccess,
|
||||
StatusFailure,
|
||||
StatusCancelled,
|
||||
StatusSkipped,
|
||||
),
|
||||
),
|
||||
),
|
||||
).
|
||||
Update(repo)
|
||||
|
||||
Reference in new issue
Block a user