Add exceptions to the processor `TypeLabelReminder`

We already have a feature #6 (closed) to remind author add the type-label.

Now we need add two exceptions in this feature:

  1. When there is a Time tracking or ~"featureflag::changed". (This can be done in config file triage/config/jihu_labels.yml, like the release did.)
  2. When the event is from the project gitlab-cn/developer-guide.(The project path can be got by Event#project_path_with_namespace)

Also, we need update the specs about these, specs location: spec/processor/type_label_reminder_spec.rb, we can validate it by:

bundle exec rspec

Reference example

Song Huang 编辑于