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:
- 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.) - When the event is from the project
gitlab-cn/developer-guide
.(The project path can be got byEvent#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
- issue: #17 (closed)
- MR: !30 (merged)
由 Song Huang 编辑于