forked from mirrors/probot
Fix then syntax
This commit is contained in:
parent
eba555d5f6
commit
f7bc9a183e
|
@ -93,7 +93,7 @@ _Heads up! There are not any `when` conditions implemented yet. _
|
||||||
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.
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
- then:
|
then:
|
||||||
comment: >
|
comment: >
|
||||||
Hey @{{ user.login }}, thanks for the contribution!
|
Hey @{{ user.login }}, thanks for the contribution!
|
||||||
```
|
```
|
||||||
|
@ -103,7 +103,7 @@ Comments can be posted in response to any event performed on an Issue or Pull Re
|
||||||
Close an issue or pull request.
|
Close an issue or pull request.
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
- then:
|
then:
|
||||||
close: true
|
close: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -112,7 +112,7 @@ Close an issue or pull request.
|
||||||
Reopen an issue or pull request.
|
Reopen an issue or pull request.
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
- then:
|
then:
|
||||||
open: true
|
open: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@ Reopen an issue or pull request.
|
||||||
Lock conversation on an issue or pull request.
|
Lock conversation on an issue or pull request.
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
- then:
|
then:
|
||||||
lock: true
|
lock: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ Lock conversation on an issue or pull request.
|
||||||
Unlock conversation on an issue or pull request.
|
Unlock conversation on an issue or pull request.
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
- then:
|
then:
|
||||||
unlock: true
|
unlock: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ Unlock conversation on an issue or pull request.
|
||||||
Add labels
|
Add labels
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
- then:
|
then:
|
||||||
label: bug
|
label: bug
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -148,7 +148,7 @@ Add labels
|
||||||
Add labels
|
Add labels
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
- then:
|
then:
|
||||||
unlabel: needs-work
|
unlabel: needs-work
|
||||||
label: waiting-for-review
|
label: waiting-for-review
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue