You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models/git
Zettat123 aa3c76159a
Fix duplicate status check contexts (#30660) (#30776)
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" />
9 months ago
..
branch.go Fix rename branch 500 when the target branch is deleted but exist in database (#30430) (#30437) 10 months ago
branch_list.go Also sync DB branches on push if necessary (#28361) (#28403) 1 year ago
branch_test.go Fix schedule tasks bugs (#28691) (#28780) 1 year ago
commit_status.go Fix duplicate status check contexts (#30660) (#30776) 9 months ago
commit_status_test.go Fix duplicate status check contexts (#30660) (#30776) 9 months ago
lfs.go Fix bugs in LFS meta garbage collection (#26122) 2 years ago
lfs_lock.go Introduce path Clean/Join helper functions (#23495) 2 years ago
main_test.go move repository deletion to service layer (#26948) 1 year ago
protected_banch_list_test.go Fix branch protection priority (#24045) 2 years ago
protected_branch.go Replace `util.SliceXxx` with `slices.Xxx` (#26958) 1 year ago
protected_branch_list.go Sync branches into databases (#22743) 2 years ago
protected_branch_test.go Supports wildcard protected branch (#20825) 2 years ago
protected_tag.go Use context parameter in models/git (#22367) 2 years ago
protected_tag_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago