From a0a521995f3d48c72ec5479f5f6e1a94294dc561 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Sat, 6 Aug 2016 13:52:27 -0700 Subject: [PATCH] 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 --- .varci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .varci.yml diff --git a/.varci.yml b/.varci.yml new file mode 100644 index 0000000000..fbe6823dbf --- /dev/null +++ b/.varci.yml @@ -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.