This repository has been archived by the owner on Jan 31, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
irc
35 lines (30 loc) · 1.81 KB
/
irc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
1. `server` - IRC server, IE. irc.freenode.net
2. `port` - Normally 6667 (No SSL) or 9999 (SSL) (optional). These are the defaults based on whether the value of `ssl` checkbox.
3. `room` - Supports single or multiple rooms (comma separated). Also supports room passwords (room_name::password). Prefixing '#' to the room is optional.
4. `password` - Server password (optional)
5. `nick` - Nickname (optional)
6. `long_url` - If enabled, displays full compare/commit url's. If disabled uses git.io.
7. `message_without_join` - If enabled prevents joining and immediately leaving the channel.
8. `no_colors` - Disables color support for messages
9. `notice` - Enables notice support. Make sure you configure channel to support notices ("/mode #yourchannelname -n" or "/msg chanserv set mlock -n")
10. `branch_regexes` - Regular expressions for branch name matching (optional, comma separated). For example, only master => `^master$`, master & starts with bug => `master,^bug`.
11. `no_pull_requests` - Turns off notifications of opened pull requests.
12. `active` - Enables the bot
13. Configure your IRC channel to allow external messages (/mode #yourchannelname -n).
For freenode, try the following:
# server: irc.freenode.net
# port: 6667
# room: #yourroom
# message_without_join: checked
# long_url: checked
# notice: checked
# active: checked
# NOTE: Ensure you enable notice support (see above)
For troubleshooting, run the following curl command to get diagnostic information from GitHub.
# Replace
# USERNAME:PASSWORD with your GitHub username and password. Username is
# your full username as used when signing in.
#
# USERNAME/REPONAME with your repo name as it shows in GitHub.
$ curl -u "USERNAME:PASSWORD" -in \
https://api.github.com/repos/USERNAME/REPONAME/hooks