You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,16 +14,20 @@ Usage of rivi:
14
14
-uri string
15
15
Bot URI path (default "/")
16
16
```
17
+
### Example
18
+
```
19
+
$ rivi -port 9000 -config repo-x.yaml
20
+
```
17
21
18
22
## Requirements
19
23
20
24
- Create a token with `repo` persmissions
21
25
- Create a webhook and make sure the following are configured:
22
26
23
27
24
-
-**content type**is`application/json`
25
-
-Set a **secret** (this will be used by the bot to validate webhook content
26
-
- Register the following event
28
+
-Select **content type**as`application/json`
29
+
-Optionally, set a **secret** (this will be used by the bot to validate webhook content)
30
+
- Register the following events
27
31
- Pull request
28
32
- Pull request review
29
33
- Pull request review comment
@@ -40,9 +44,9 @@ config:
40
44
secret: my-hook-secret-shhhhh
41
45
```
42
46
43
-
- `provider` (optional) - which client to use for git connection (currently only `github` is supported but other are on the way)
44
47
- `token` (required) - the client OAuth token the bot will connect with (and assign issues, add comments and lables)
45
-
- `secret`(required) - webhook secret to be used for content validation
48
+
- `provider`(optional) - which client to use for git connection - the bot tries to figure out which client to use automatically (currently only `github` is supported but others are on the way)
49
+
- `secret`(optional) - webhook secret to be used for content validation (recommended)
0 commit comments