codinasion-archive / codinasion-monorepo

Community Monorepo
https://codinasion.org
MIT License
52 stars 170 forks source link

Improve assignment bot logic #4544

Closed harshraj8843 closed 1 year ago

harshraj8843 commented 1 year ago

The assignment bot should only assign an issue to a particular user if the user comments !assign or !assign me or please !assign me

https://github.com/codinasion/codinasion/blob/0fa9dad5c599f318a8d417b4987e4507afc16b66/github-bots/assign-me/src/index.ts#L8

Reference

Screenshot from 2023-07-19 23-54-44

ThaungThanHan commented 1 year ago

Testing.

ThaungThanHan commented 1 year ago

Check if bot assigns only when we use !assign

ThaungThanHan commented 1 year ago

It works as expected. What is the issue?

harshraj8843 commented 1 year ago

It should not assign a user if a suggestion is made to another user

Screenshot from 2023-07-19 23-54-44

ThaungThanHan commented 1 year ago

Understood. Working on it.