Closing issue as "not planned" instead of "completed" #24
-
First Check
Commit to Help
Example Code
DescriptionI used this GitHub action on one of the repos I maintain, and it worked great for me. Today, I used it to close an old issue, and I noticed that the issue was closed as "completed" while I was expecting it to be closed as "not planned", which sounds like a better default for this project. Is that something which is already supported? I think that was added fairly recently to GitHub so maybe the API call made by the GitHub action needs a bit of tweaking. Perhaps it would make sense to have an option to make it configurable per label. PS: I use this GitHub action on several of my repos, this is really helping me to stay on top of things, so thank you! Operating SystemLinux Operating System Detailsubuntu-latest Python Versionn/a Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Looks like this is supported in the latest version of PyGitHub by passing I guess it's a matter of changing this line: Line 101 in 0ec1d5a |
Beta Was this translation helpful? Give feedback.
-
Thanks @browniebroke! My intention with issue-manager was this: People report things, and normally they never report back when something is handled, answered, fixed, etc. Also, in most of the cases, the issue is actually an error on their side. In many cases, I would answer or ask for more info, but people wouldn't come back to tell me this solved their use case, or provide the extra info. If I closed the issue right away before waiting for them to reply, I would consider it rude, because there's a chance I didn't understand what they wanted or what they were saying, or that what I said doesn't really solve their problem, or they actually come back and report the extra info. So, the intention with issue-manager was to add a way to "close this automatically in the future if they don't come back, but if they do, keep it open". I would want those issues to be closed as "completed" because whatever is the original request was in some way completed, they solved what they needed in some way. Now, for the use case of close as "not planned", I would imagine it would be mainly for new features. And if I know that I don't plan on adding those features, I would think it would be better to say it directly, explain it, and close the issue. I'm wondering, do you have a use case where you would want "not planned" to be closed after a while? |
Beta Was this translation helpful? Give feedback.
Thanks @browniebroke!
My intention with issue-manager was this:
People report things, and normally they never report back when something is handled, answered, fixed, etc. Also, in most of the cases, the issue is actually an error on their side.
In many cases, I would answer or ask for more info, but people wouldn't come back to tell me this solved their use case, or provide the extra info.
If I closed the issue right away before waiting for them to reply, I would consider it rude, because there's a chance I didn't understand what they wanted or what they were saying, or that what I said doesn't really solve their problem, or they actually come back and report the extra info.
So, the inten…