Skip to content

Commit

Permalink
Update the EnforceMaxLifeOfIssues comment that is added to the issue. (
Browse files Browse the repository at this point in the history
  • Loading branch information
JimSuplizio authored May 2, 2024
1 parent 0d06f6a commit d2ae71f
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -559,11 +559,11 @@ public static async Task LockClosedIssues(GitHubEventClient gitHubEventClient, S
/// Resulting Action:
/// Close the issue
/// Add a 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.
/// 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.
/// Lock the issue
/// </summary>
/// <param name="gitHubEventClient">Authenticated GitHubEventClient</param>
Expand Down Expand Up @@ -611,7 +611,7 @@ public static async Task EnforceMaxLifeOfIssues(GitHubEventClient gitHubEventCli
issue.Number,
issueUpdate);
// Add a comment
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.";
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.";
gitHubEventClient.CreateComment(scheduledEventPayload.Repository.Id,
issue.Number,
comment);
Expand Down

0 comments on commit d2ae71f

Please sign in to comment.