.varci.yml 1.3 KB

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