Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Commit e45bdb4

Browse files
author
Tom Bell
committed
Merge pull request #972 from spajus/master
Update docs for github-pull-requests-notifier
2 parents 20d3d5f + 78a61e6 commit e45bdb4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/scripts/github-pull-request-notifier.coffee

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@
77
#
88
# Configuration:
99
# You will have to do the following:
10-
# 1. Test your room/type configuration using "hubot test pull request in <room> [type]"
11-
# 2. Get an API token: curl -u 'username' -d '{"scopes":["repo"],"note":"Hooks management"}' \
10+
# 1. Get an API token: curl -u 'username' -d '{"scopes":["repo"],"note":"Hooks management"}' \
1211
# https://api.github.com/authorizations
13-
# 3. Add <HUBOT_URL>:<PORT>/hubot/gh-pull-requests?room=<room>[&type=<type>] url hook via API:
12+
# 2. Add <HUBOT_URL>:<PORT>/hubot/gh-pull-requests?room=<room>[&type=<type>] url hook via API:
1413
# curl -H "Authorization: token <your api token>" \
1514
# -d '{"name":"web","active":true,"events":["pull_request"],"config":{"url":"<this script url>","content_type":"json"}}' \
1615
# https://api.github.com/repos/<your user>/<your repo>/hooks

0 commit comments

Comments
 (0)