Skip to content

alam-R/giteaWebhookMailProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

giteaWebhookMailProxy

A java microservice which receives a push webhook from gitea and send it via mail. Gitea will send a POST request when someone pushed in a branch of a repo. This is received by giteaWebhookMailProxy and is forwarded as a mail to custom recipients (configured by application.properties). There is only one endpoint: "/webhooktomail", so the POST webhook should be like: http://localhost:<port_of_mail_service>/webhooktomail

giteaWebhookMailProxy assumes that mail service is configured and run on localhost, port is configurable (configured by application.properties).

Mail format is fixed at the moment: <user_pusher> pushed to <branch_pushed> at <repo_of_branch> <sha_commited> <message_commited>

Tested on 1.13.3 Gitea

About

Description

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages