Opened 5 years ago

Closed 5 years ago

#2868 closed enhancement (fixed)

bb-github should report pull reqs, too

Reported by: dustin Owned by: dustin
Priority: major Milestone: sys - other
Version: 0.8.9 Keywords:
Cc:

Description

See https://gist.github.com/metajack/5323449

{
    "name": "irc",
    "active": true,
    "events": [
        "push",
        "pull_request"
    ],
    "config": {
        "server": "irc.freenode.net",
        "port": "6697",
        "room": "#buildbot",
        "nick": "bb-github",
        "ssl": "1",
        "message_without_join": "0",
        "no_colors": "0",
        "notice": "0"
    }
}

This requires adding an oAuth key to your account temporarily and using

curl -i -H "Authorization: token key-goes-here" -X POST https://api.github.com/repos/$owner/$repo/hoo    ks --data @irc.json

Change History (2)

comment:1 Changed 5 years ago by dustin

Applicable events are here:

https://developer.github.com/webhooks/

comment:2 Changed 5 years ago by dustin

  • Resolution set to fixed
  • Status changed from new to closed
11:44 < bb-github> [buildbot] djmitche opened pull request #1195: issues are no longer active (master...testbranch) http://git.io/Mu_bIw
11:44 <+djmitche> oo, thta's something
11:46 <+djmitche> hm, but it doesn't catch pushes to pull reqs..
11:49 < bb-github> [buildbot] djmitche comment on issue #1195: comment on a pull req http://git.io/HJPXgw
11:49 <+djmitche> oh hey
11:49 < bb-github> [buildbot] djmitche comment on issue #1195: bb-github, where are you.. http://git.io/fKbDyw

Wound up using

  "events": [
    "push",
    "pull_request",
    "pull_request_review_comment",
    "issue_comment"
  ],
Note: See TracTickets for help on using tickets.