Re-add "triage" label when re-opening an issue via email - #73
Merged
Conversation
stianst
reviewed
May 29, 2026
stianst
left a comment
Collaborator
There was a problem hiding this comment.
I'm not convinced about this; not that this doesn't improve the current state, but think we should do something else.
I've opened #77 which is an issue where the bug re-opens fixed CVEs when there is a new reply, but would like to find a solution to both these in one go.
I can see two potential routes for a solution to both:
- Don't re-open closed issues, but rather just reply to the mailing list that this issue is now closed
- Re-open issues, but add labels so we can identify they where re-opened rather than putting them back to triage (status/re-opened-by-bot)?
stianst
reviewed
May 29, 2026
| var issue = issueOpt.get(); | ||
| if (issue.getState() == GHIssueState.CLOSED) { | ||
| issue.reopen(); | ||
| issue.addLabels(Labels.STATUS_TRIAGE); |
Collaborator
There was a problem hiding this comment.
Thinking about this a bit more for now we can just add a label to indicate the bot has re-opened the issue; then if it becomes a bigger problem that many issues are re-opened we can re-consider. So I propose something like this:
Suggested change
| issue.addLabels(Labels.STATUS_TRIAGE); | |
| issue.addLabels(Labels.STATUS_TRIAGE, Labels.REOPENED_BY_BOT); |
Co-authored-by: Stian Thorgersen <stianst@gmail.com> Closes keycloak#72 Signed-off-by: Bruno Oliveira da Silva <bruno@abstractj.com>
Contributor
Author
|
@stianst updated. |
stianst
approved these changes
Jun 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #72