Fix code block formatting

This commit is contained in:
Seema Kamath 2016-10-13 12:02:59 -07:00 committed by GitHub
parent a12e03309f
commit 1181e8e7c3
1 changed files with 7 additions and 3 deletions

View File

@ -17,14 +17,18 @@ To test with a real GitHub repository, you'll need to create a test repository a
- **Secret:** `development`
- **Which events would you like to trigger this webhook?:** Choose **Send me everything**.
0. Create a `.probot.yml` in your repo with:
```
behaviors:
- on: issues.opened
then:
comment: "Hello World! Your bot is working!"
- on: issues.opened
then:
comment: "Hello World! Your bot is working!"
```
0. Open a new issue. Your bot should post a comment (you may need to refresh to see it).
## Debugging
0. To see what requests are going out, enable debugging mode for GitHub client in /server.js:
```
const github = new GitHubApi({
debug: true
});
```