-
Notifications
You must be signed in to change notification settings - Fork 376
/
.varci.yml
46 lines (33 loc) · 1.3 KB
/
.varci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
ruleset:
respond_to_me:
name: Respond to me when I comment mentioning @VarCI-bot
events: [ issue_comment ]
when:
- action = "created"
- user.login = "jdorfman"
- body contains "@VarCI-bot"
comment: |
Perfect @{{ user.login }} - now replace the first two rules with your own!
If you wish to keep the third rule, you can merge by starting a comment with "LGTM".
Please see the following resources if you get stuck - best of luck!
- [Documentation](https://var.ci/docs)
- [Support](https://var.ci/support)
merge_for_me:
name: Merge pull requests for me when I start a comment with "LGTM"
events: [ issue_comment ]
when:
- action = "created"
- user.login = "jdorfman"
- body matches "/^LGTM/"
merge: true
welcome_me:
name: Introduce me to VarCI when I open a pull request
events: [ pull_request ]
when:
- action = "opened"
- user.login = "jdorfman"
comment: |
Welcome to VarCI @{{ user.login }}!
Continue pushing changes to the config in this branch and I'll validate the changes.
You can also test out new rules in your pull requests before merging them.
For example, try triggering the second rule by mentioning me (@VarCI-bot) right now!