Feature(repo): add varci config

This adds labeling with `question` of issues with help in title
and commenting a short message asking the user to seek help
in chat or forum and closing the issue
This commit is contained in:
Berkeley Martinez
2016-08-06 13:52:27 -07:00
parent e8a73728e2
commit a0a521995f

26
.varci.yml Normal file
View File

@ -0,0 +1,26 @@
ruleset:
label_as_question:
name: "Label issues with help as question"
events: [ issues ]
label: question
when:
- title matches "/help/i"
- action = "opened" or action = "reopened"
add_help_comment:
name: "Comment on issue with Help in title or description"
events: [ issues ]
when:
- title matches "/help/i"
- action = "opened" or action = "reopened"
comment: >
Hi @{{ user.login }}
The issue tracker is for reporting bugs only. If this is a request
for help with a challenge, please use the [help chat room](https://gitter.im/FreeCodeCamp/Help)
or try looking through the [forum](http://forum.freecodecamp.com/c/free-code-camp) for help
with a specific challenge.
If this is the case, please close this issue.
Happy Coding.