My need is to make Gitea somehow to send mails if a build failes.
Are there options to do in Gitea?
P.S. Looking into the code base I see that
POST /api/v1/repos/ilya/backend/statuses/{sha}
just writes information into the db, but doesn’t trigger something about sending an email.
Gitea currently have no the event about commit status. But I think there should be a drone plugin to do that. If there is not, maybe you can write one yourself.