diff options
author | Zettat123 <zettat123@gmail.com> | 2023-12-22 21:29:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-22 13:29:50 +0000 |
commit | 907c97aabbe6fdfa5669ef2b2978f2d217cf0210 (patch) | |
tree | 02116b3ef055973c5f820689874dce83305baba6 /.air.toml | |
parent | 19869d1c11462294c828bc126bf006103239e397 (diff) | |
download | gitea-907c97aabbe6fdfa5669ef2b2978f2d217cf0210.tar.gz gitea-907c97aabbe6fdfa5669ef2b2978f2d217cf0210.zip |
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.
https://github.com/go-gitea/gitea/blob/21229ed2c8ed00f57100adf9ebc5f4a08da9a66e/routers/web/repo/pull.go#L653-L663
Diffstat (limited to '.air.toml')
0 files changed, 0 insertions, 0 deletions