Skip to content

Instantly share code, notes, and snippets.

@metajack
Created April 5, 2013 23:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save metajack/5323449 to your computer and use it in GitHub Desktop.
Save metajack/5323449 to your computer and use it in GitHub Desktop.
{
"name": "irc",
"active": true,
"events": [
"issues",
"push",
"pull_request"
],
"config": {
"server": "irc.mozilla.org",
"port": "6697",
"room": "#servo",
"nick": "ghservo",
"ssl": "1",
"message_without_join": "0",
"no_colors": "0",
"notice": "0"
}
}
#!/bin/bash
owner=mozilla-servo
repo=$1
user=metajack
curl -i -u $user -X POST https://api.github.com/repos/$owner/$repo/hooks --data @irc.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment