forgejo/routers/web/repo
Zettat123 907c97aabb
Fix status_check_contexts matching bug (#28582)
Fix #28570
Follow #24633

---
Copied from
https://github.com/go-gitea/gitea/issues/28570#issuecomment-1867327999

The feature introduced in #24633 should be compatible with
`status_check_contexts`. However, if one or more of
`status_check_contexts` is not a legal glob expressions, `glob.Compile`
will fail and the contexts cannot match.


21229ed2c8/routers/web/repo/pull.go (L653-L663)
2023-12-22 13:29:50 +00:00
..
actions Only check online runner when detecting matching runners in workflows (#28286) 2023-12-18 16:06:19 +00:00
setting Improve ObjectFormat interface (#28496) 2023-12-19 07:20:47 +00:00
activity.go
attachment.go
blame.go Use information from previous blame parts (#28572) 2023-12-21 22:48:18 +01:00
branch.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
cherry_pick.go
commit.go Abstract hash function usage (#28138) 2023-12-13 21:02:00 +00:00
compare.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
download.go
editor.go Revert "Fix EOL handling in web editor" (#28101) 2023-11-22 09:14:16 +00:00
editor_test.go
find.go
githttp.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
githttp_test.go
helper.go
helper_test.go
issue.go Second part of refactor db.Find (#28194) 2023-12-11 16:56:48 +08:00
issue_content_history.go Fix missing check (#28406) 2023-12-10 21:37:10 +02:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_pin.go Fix missing check (#28406) 2023-12-10 21:37:10 +02:00
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
main_test.go
middlewares.go Fix viewing wiki commit on empty repo (#28040) 2023-11-14 19:42:23 +08:00
migrate.go
milestone.go Second part of refactor db.Find (#28194) 2023-12-11 16:56:48 +08:00
packages.go
patch.go
projects.go Fix comment permissions (#28213) 2023-11-25 17:21:21 +00:00
projects_test.go
pull.go Fix status_check_contexts matching bug (#28582) 2023-12-22 13:29:50 +00:00
pull_review.go
release.go Add missing variable in tag list (#28305) 2023-11-30 16:26:56 +01:00
release_test.go
render.go
repo.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
search.go
topic.go
treelist.go
view.go Add option to disable ambiguous unicode characters detection (#28454) 2023-12-17 14:38:54 +00:00
view_test.go
wiki.go
wiki_test.go