takanome-dev / assign-issue-action

🤖 A github action that assign issues based on "/assign" command (or any trigger you want to use)
MIT License
8 stars 1 forks source link

Feature: Add `/assign-previous-commenter` #240

Open koppor opened 3 days ago

koppor commented 3 days ago

Type of feature

💡 Feature

Current behavior

Contributor posts texts, because they is not aware of /assign-me:

image

There is no possiblity to comment something to have this magic of assignment (and unassignent aftter a timeout) working.

Suggested solution

Add /assign-previous-commenter which triggers the assignment of the previous (!) comment.

Advanced version could be /assign {url to issue comment}

Example:

/assign https://github.com/JabRef/jabref/issues/10418#issuecomment-2401128647

This would then assign the poster of that comment to the current issue.

Additional context

No response

Code of Conduct

Contributing Docs

koppor commented 10 hours ago

Maybe /assign-last-commenter is the better name - to have a clear indication who is meant.

koppor commented 10 hours ago

OK, previous might be even better ^^

takanome-dev commented 10 hours ago

I’ve opted for /assign @<username> (still in draft and untested) instead of /assign-previous.

The reason is simple:

Using the username directly gives more control. Thoughts?

koppor commented 10 hours ago

Using the username directly gives more control. Thoughts?

Very nice idea! I just didn't see this option 😅.