forked from mirrors/probot
Fix headings
This commit is contained in:
parent
df59026ad3
commit
a20c245a8f
|
@ -77,7 +77,7 @@ Only preform the actions if the function returns `true`. The `event` is passed a
|
||||||
.filter(event => event.payload.issue.body.includes("- [ ]"))
|
.filter(event => event.payload.issue.body.includes("- [ ]"))
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `comment`
|
### `comment`
|
||||||
|
|
||||||
Comments can be posted in response to any event performed on an Issue or Pull Request. Comments use [mustache](https://mustache.github.io/) for templates and can use any data from the event payload.
|
Comments can be posted in response to any event performed on an Issue or Pull Request. Comments use [mustache](https://mustache.github.io/) for templates and can use any data from the event payload.
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ Comments can be posted in response to any event performed on an Issue or Pull Re
|
||||||
.comment("Hey @{{ user.login }}, thanks for the contribution!");
|
.comment("Hey @{{ user.login }}, thanks for the contribution!");
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `close`
|
### `close`
|
||||||
|
|
||||||
Close an issue or pull request.
|
Close an issue or pull request.
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ Close an issue or pull request.
|
||||||
.close();
|
.close();
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `open`
|
### `open`
|
||||||
|
|
||||||
Reopen an issue or pull request.
|
Reopen an issue or pull request.
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ Reopen an issue or pull request.
|
||||||
.open();
|
.open();
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `lock`
|
### `lock`
|
||||||
|
|
||||||
Lock conversation on an issue or pull request.
|
Lock conversation on an issue or pull request.
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ Lock conversation on an issue or pull request.
|
||||||
.lock();
|
.lock();
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `unlock`
|
### `unlock`
|
||||||
|
|
||||||
Unlock conversation on an issue or pull request.
|
Unlock conversation on an issue or pull request.
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ Unlock conversation on an issue or pull request.
|
||||||
.unlock();
|
.unlock();
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `label`
|
### `label`
|
||||||
|
|
||||||
Add labels
|
Add labels
|
||||||
|
|
||||||
|
@ -125,7 +125,7 @@ Add labels
|
||||||
.label('bug');
|
.label('bug');
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `unlabel`
|
### `unlabel`
|
||||||
|
|
||||||
Add labels
|
Add labels
|
||||||
|
|
||||||
|
@ -133,13 +133,13 @@ Add labels
|
||||||
.unlabel('needs-work').label('waiting-for-review');
|
.unlabel('needs-work').label('waiting-for-review');
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `assign`
|
### `assign`
|
||||||
|
|
||||||
```
|
```
|
||||||
.assign('hubot');
|
.assign('hubot');
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `unassign`
|
### `unassign`
|
||||||
|
|
||||||
```
|
```
|
||||||
.unassign('defunkt');
|
.unassign('defunkt');
|
||||||
|
|
Loading…
Reference in New Issue