0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 03:32:00 +01:00
gitea/models/git
Zettat123 99e89e57bc
Fix duplicate status check contexts (#30660) (#30779)
Backport #30660.

Caused by #30076. 

There may be some duplicate status check contexts when setting status
checks for a branch protection rule. The duplicate contexts should be
removed.

Before:
<img

src="https://github.com/go-gitea/gitea/assets/15528715/97f4de2d-4868-47a3-8a99-5a180f9ac0a3"
width="600px" />

After:
<img

src="https://github.com/go-gitea/gitea/assets/15528715/ff7289c5-9793-4090-ba31-e8cb3c85f8a3"
width="600px" />
2024-05-01 02:10:37 +00:00
..
branch_list.go
branch_test.go
branch.go Fix rename branch 500 when the target branch is deleted but exist in database (#30430) 2024-04-12 13:11:16 +03:00
commit_status_summary.go Fix commitstatus summary (#30431) 2024-04-14 14:16:54 +02:00
commit_status_test.go Fix duplicate status check contexts (#30660) (#30779) 2024-05-01 02:10:37 +00:00
commit_status.go Fix duplicate status check contexts (#30660) (#30779) 2024-05-01 02:10:37 +00:00
lfs_lock.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 2024-04-21 19:44:03 +00:00
lfs.go
main_test.go
protected_banch_list_test.go
protected_branch_list.go
protected_branch_test.go
protected_branch.go
protected_tag_test.go
protected_tag.go