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: `blockingLabels` #243

Closed koppor closed 16 hours ago

koppor commented 2 days ago

Type of feature

💡 Feature

Current behavior

Currently, all issues can be taken. The idea of take-action is to have "blocking labels".

Note: This feature is more a nice to have. I posted it for completeness...

The take-action is recommended at https://github.com/community/maintainers/discussions/447#discussioncomment-10756193 - thus read by many people. I added a recommendation to this action below 😅, because I like the unassign feature.

Suggested solution

(Inspired by https://github.com/bdougie/take-action?tab=readme-ov-file#usage)

Additional context

No response

Code of Conduct

Contributing Docs

takanome-dev commented 1 day ago

Well, we do have required_label and that means the action will not run if the issue does not contain that label.

It's kinda the same as having blocking labels...

What we can add is a comment to let know the contributors that the issue is not up for grab yet.

What do you think @koppor ?

koppor commented 16 hours ago

There are three kinds of issues:

  1. intended to be taken by /assign-me
  2. not intended to be taken by /assign-me
  3. undefiend :) to be taken by /assign-me

With "required" labels, one defines group 3 to be group 2. With "blocking" labels, one defines group 3 to be group 1 instead.

For my use case, the current solution works. If someone else needs the feature, they can rise a comment here.