Skip to content

Webhook server sends transformed GitHub event JSON as email notifications.

Notifications You must be signed in to change notification settings

soldemuth/GitHub-Event-Mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

GitHub-Event-Mailer

Webhook server sends transformed GitHub event JSON as email notifications.

As stand-alone server:

GitHubEventMailer
  ->loadConfig("$ENV{HOME}/etc/GitHubWebhookRequest/config.cfg")
  ->start();

Or as HTTP::Request:

if ($r->isa('HTTP::Request')) {
    my $httpResponse = GitHubWebhookRequest->do($r);
}

Config:

[MAIN]
DEBUG_TO              = sdemuth@fairbanksllc.com
LISTEN                = 9999
SUPPRESS_NO_JOB_ERROR = 1
TEMPLATE_PATH         = ~/etc/GitHubWebhookRequest/templates/,

[PUSH_1]
event    = push
from     = from@address.com
template = push.tmpl
to       = to_1@address.com,to_2@address.com
secret   = SECRET

About

Webhook server sends transformed GitHub event JSON as email notifications.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages