mirror of
1
Fork 0
forgejo/routers
Giteabot 3fe44b8762
Fix `status_check_contexts` matching bug (#28582) (#28589)
Backport #28582 by @Zettat123

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)

Co-authored-by: Zettat123 <zettat123@gmail.com>
(cherry picked from commit 6a559ad634)
2024-01-16 14:07:46 +00:00
..
api Fix merging artifact chunks error when minio storage basepath is set (#28555) (#28568) 2023-12-22 12:10:03 +01:00
common [BRANDING] Use `forgejo` binary name 2023-11-13 13:59:40 +01:00
install Merge branch 'rebase-v1.21/forgejo-branding' into wip-v1.21-forgejo 2023-11-13 16:47:18 +01:00
private [CLI] implement forgejo-cli 2023-11-13 11:52:15 +01:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Fix `status_check_contexts` matching bug (#28582) (#28589) 2024-01-16 14:07:46 +00:00
init.go [API] Forgejo API /api/forgejo/v1 2023-11-13 12:33:48 +01:00