Plugin for IRC-Bot
Receives notifications from a Github instance and outputs them to a channel.
- go build go build github.com/greboid/irc-github/v2/cmd/github
- docker run greboid/irc-github
At a bare minimum you also need to give it a channel, a github secret to verify received notifications on and an RPC token. You'll like also want to specify the bot host.
Optionally you can hide any notifications about private channels, or send them to a different channel.
Once configured the URL to configure in github would be /github
---
version: "3.5"
service:
bot-github:
image: greboid/irc-github
environment:
RPC_HOST: bot
RPC_TOKEN: <as configured on the bot>
CHANNEL: #spam
GITHUB_SECRET: cUCrb7HJ
github -rpc-host bot -rpc-token <as configured on the bot> -channel #spam -github-secret cUCrb7HJ