mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-19 16:20:39 +08:00

Extract from #33320 This PR uses a map instead of a struct to store webhook event information. It removes many duplicated functions and makes the logic clearer.