Draft: [Frontend] Update webhook: support both wildcard & regex
Related issue: #369104 (closed)
Backend MR: !97235 (merged) (Backend merged first, frontend merged later)
What does this MR do and why?
Support more matching strategies when the webhook matches branches.
- Add a new column
branch_filter_strategyto the database tableweb_hooks. Already done in this MR - Update
ActiveHookFilter.matches?method to support more matching strategies - Update frontend page to allow user to choose matching strategy
- Update unit tests
Changelog: changed
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
Edited by Zhiyuan Lu

