Skip to content

Commit

Permalink
Add closed by bot label to auto-expired missing-info
Browse files Browse the repository at this point in the history
  • Loading branch information
stianst committed Feb 28, 2024
1 parent a475cb6 commit bf583de
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public void checkIssuesWithMissingInformation() throws IOException {
String comment = messages.getExpireComment(expirationValue, expirationUnit);
issue.comment(comment);
issue.removeLabels(Status.MISSING_INFORMATION.toLabel());
issue.addLabels(Status.EXPIRED_BY_BOT.toLabel());
issue.close(GHIssueStateReason.NOT_PLANNED);
lastChecked.remove(issue);
logger.infov("Expired: issue={0}", issue.getNumber());
Expand Down

0 comments on commit bf583de

Please sign in to comment.