-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Create closing comment after issue is closed by commit #11310
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
Create closing comment after issue is closed by commit #11310
Conversation
When closing issues through commits create the comment after the issue is closed rather than before. This ensures that the repo issue num is correctly updated. Fix go-gitea#11308 Fix go-gitea#10536 Signed-off-by: Andrew Thornton <[email protected]>
Also obsoletes #10541. |
It seems this PR didn't fix the problem. And I found another bug that is even if there is no milestone of the issue, it will still update the milestone table.
And the close comment should before closed status comment. |
Damn. I'll have another think about this then. |
Is there any update on the incorrect open issue count that was supposed to be fixed with this? |
This was not merged, so still an open issue. |
And now it is closed 😢 - like this one. Any updates that I missed searching, besides #10536? |
Create the closing comment after the issue is closed by commit rather than before. This ensures that the repository Issue Numbers are correctly updated.
Fix #11308
Fix #10536
Closes #10541
Signed-off-by: Andrew Thornton [email protected]