From 6114cc767e09cf8d297345aae380bbbb2ea2bcdd Mon Sep 17 00:00:00 2001 From: Zhengyang Song Date: Fri, 28 Jul 2023 00:13:33 +0800 Subject: [PATCH] Update the stale action rule to not mark issues with assignees as stale. Reference: https://github.com/probot/stale --- .github/stale.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/stale.yml b/.github/stale.yml index cbbef7f8..9e5f5ca7 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -1,20 +1,30 @@ # Number of days of inactivity before an issue becomes stale daysUntilStale: 60 + # Number of days of inactivity before a stale issue is closed daysUntilClose: 7 + # Issues with these labels will never be considered stale exemptLabels: - pinned - security - to do + +# Set to true to ignore issues with an assignee +exemptAssignees: true + # Label to use when marking an issue as stale staleLabel: wontfix + # Comment to post when marking an issue as stale. Set to `false` to disable markComment: > This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. + # Comment to post when closing a stale issue. Set to `false` to disable closeComment: > Closing as stale, please reopen if you'd like to work on this further. + +# Limit to only `issues` or `pulls` only: issues