From 59ad15d3c5438a9d285f8dffe7d3eb2c7522231b Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Wed, 26 Aug 2020 18:49:58 +0200 Subject: [PATCH] StaleBot Tweaks - Add Status: Triage Needed to bug reports Currently "Type: Defect" is auto added. Adding a triage tag, makes sure all issues are reviewed by a maintainer It also opens up some options to priorities defects in the near future. - Prevent future StaleBot Spam StaleBot will limit itself to 6 actions per hour This should prevent future floods of StaleBot activity (aka Spam) - StaleBot: Ignore issues that are being worked on Ignore the following Issues: - tagged: "Status: Work in Progress" - Having a maintainer assigned - Being part of a project - Having a milestone tag - Rename Ignore "Type: Understood" to "Bot: Not Stale" This Commits changes the general ignore tag for StaleBot from: "Type: Understood" to "Bot: Not Stale" Reviewed-by: Brian Behlendorf Signed-off-by: Kjeld Schouten-Lebbing Closes #10813 --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- .github/stale.yml | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index e4f754d6659c..9d5e9948fdde 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -2,7 +2,7 @@ name: Bug report about: Create a report to help us improve OpenZFS title: '' -labels: 'Type: Defect' +labels: 'Type: Defect', 'Status: Triage Needed' assignees: '' --- diff --git a/.github/stale.yml b/.github/stale.yml index d59984b1b227..895cc8e803b2 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -7,7 +7,14 @@ only: issues # Issues with these labels will never be considered stale exemptLabels: - "Type: Feature" - - "Type: Understood" + - "Bot: Not Stale" + - "Status: Work in Progress" +# Set to true to ignore issues in a project (defaults to false) +exemptProjects: true +# Set to true to ignore issues in a milestone (defaults to false) +exemptMilestones: true +# Set to true to ignore issues with an assignee (defaults to false) +exemptAssignees: true # Label to use when marking an issue as stale staleLabel: "Status: Stale" # Comment to post when marking an issue as stale. Set to `false` to disable @@ -15,3 +22,5 @@ markComment: > This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions. +# Limit the number of actions per hour, from 1-30. Default is 30 +limitPerRun: 6