Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't allow bot users to be assigned to issue/pull #25115

Closed
stuzer05 opened this issue Jun 7, 2023 · 8 comments
Closed

Don't allow bot users to be assigned to issue/pull #25115

stuzer05 opened this issue Jun 7, 2023 · 8 comments
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@stuzer05
Copy link

stuzer05 commented Jun 7, 2023

Feature Description

Bot users are hidden in gitea, so why would we see them in issues "assignees" filter and be able to assign issues to them?

Screenshots

image

@stuzer05 stuzer05 added type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Jun 7, 2023
@silverwind
Copy link
Member

I see nothing wrong with assigning a bot an issue, if for example the bot is a merger bot, this may be desirable to get the bot to merge it.

@delvh
Copy link
Member

delvh commented Jun 7, 2023

Furthermore, as @silverwind mentioned, there might be bots that explicitly listen for issues they are assigned for.
That is an absolutely permitted usecase.
So, this would even be breaking.

@a1012112796
Copy link
Member

Bot users are hidden in gitea, so ...

wonder what's the meaning of Bot users ? ...

@stuzer05
Copy link
Author

stuzer05 commented Jun 7, 2023

Bot users are hidden in gitea, so ...

wonder what's the meaning of Bot users ? ...

#24026

@stuzer05
Copy link
Author

stuzer05 commented Jun 7, 2023

Furthermore, as @silverwind mentioned, there might be bots that explicitly listen for issues they are assigned for. That is an absolutely permitted usecase. So, this would even be breaking.

I thought that'll be done using labels. Does github allow assigning to bots as well?

@lunny
Copy link
Member

lunny commented Jun 7, 2023

Assign action could ask the bot user do something, why not?

@stuzer05
Copy link
Author

stuzer05 commented Jun 7, 2023

Assign action could ask the bot user do something, why not?

I thought assignee means human to resolve an issue (code something, etc.)

@delvh
Copy link
Member

delvh commented Jun 7, 2023

Yes, too.
But that's the funny thing about software:
You can only guide the user on how to use it, you cannot forbid unforeseen uses.

@stuzer05 stuzer05 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 7, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

5 participants