forked from mirrors/probot
Fix code block formatting
This commit is contained in:
parent
a12e03309f
commit
1181e8e7c3
|
@ -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
|
||||
});
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue