Skip to content

Commit d2ae71f

Browse files
authored
Update the EnforceMaxLifeOfIssues comment that is added to the issue. (#8185)
1 parent 0d06f6a commit d2ae71f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tools/github-event-processor/Azure.Sdk.Tools.GitHubEventProcessor/EventProcessing/ScheduledEventProcessing.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -559,11 +559,11 @@ public static async Task LockClosedIssues(GitHubEventClient gitHubEventClient, S
559559
/// Resulting Action:
560560
/// Close the issue
561561
/// Add a comment: Hi @{issue.User.Login}, we deeply appreciate your input into this project. Regrettably,
562-
/// this issue has remained inactive for over 2 years, leading us to the decision to close it.
563-
/// We've implemented this policy to maintain the relevance of our issue queue and facilitate
564-
/// easier navigation for new contributors. If you still believe this topic requires attention,
565-
/// please feel free to create a new issue, referencing this one. Thank you for your understanding
566-
/// and ongoing support.
562+
/// this issue has remained unresolved for over 2 years and inactive for 30 days, leading us
563+
/// to the decision to close it. We've implemented this policy to maintain the relevance of
564+
/// our issue queue and facilitate easier navigation for new contributors. If you still believe
565+
/// this topic requires attention, please feel free to create a new issue, referencing this
566+
/// one. Thank you for your understanding and ongoing support.
567567
/// Lock the issue
568568
/// </summary>
569569
/// <param name="gitHubEventClient">Authenticated GitHubEventClient</param>
@@ -611,7 +611,7 @@ public static async Task EnforceMaxLifeOfIssues(GitHubEventClient gitHubEventCli
611611
issue.Number,
612612
issueUpdate);
613613
// Add a comment
614-
string comment = $"Hi @{issue.User.Login}, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.";
614+
string comment = $"Hi @{issue.User.Login}, we deeply appreciate your input into this project. Regrettably, this issue has remained unresolved for over 2 years and inactive for 30 days, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.";
615615
gitHubEventClient.CreateComment(scheduledEventPayload.Repository.Id,
616616
issue.Number,
617617
comment);

0 commit comments

Comments
 (0)