From 3b70c9966e71e518750c05e18c78797a59057305 Mon Sep 17 00:00:00 2001 From: Jon Janego Date: Thu, 14 Mar 2024 14:43:08 -0500 Subject: [PATCH 1/2] Update stale.yaml fixing some comments, adding a keep label for issues, explicitly defining labeling behavior for issues --- .github/workflows/stale.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 676cd7a..6c0282c 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -17,10 +17,12 @@ jobs: with: stale-pr-message: "👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the `Keep` label to hold stale off permanently, or do nothing. If you do nothing, this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details." stale-pr-label: "Stale" + stale-issue-label: "Stale" exempt-pr-labels: "Keep" # a "Keep" label will keep the PR from being closed as stale + exempt-issue-labels: "Keep" # a "Keep" label will keep the issue from being closed as stale days-before-pr-stale: 180 # when the PR is considered stale - days-before-pr-close: 15 # when the PR is closed by the bot, - days-before-issue-stale: 180 # prevents issues from being tagged by the bot - days-before-issue-close: 15 # prevents issues from being closed by the bot + days-before-pr-close: 15 # when the PR is closed by the bot + days-before-issue-stale: 180 # when the issue is considered stale + days-before-issue-close: 15 # when the issue is closed by the bot exempt-assignees: 'advanced-security-dependency-graph' ascending: true From aef51371b72e81ca6bb8eb928d270bec7fa6f846 Mon Sep 17 00:00:00 2001 From: Jon Janego Date: Thu, 14 Mar 2024 14:44:38 -0500 Subject: [PATCH 2/2] Update CONTRIBUTING.md explaining stalebot --- CONTRIBUTING.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1164439..161ade4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -118,6 +118,10 @@ git tag -fa v4 -m "Updating v4 to 4.0.1" git push origin v4 --force ``` +## Stalebot + +We have begun using a [Stalebot action](https://github.com/actions/stale) to help keep the Issues and Pull requests backlogs tidy. You can see the configuration [here](.github/workflows/stalebot.yml). If you'd like to keep an issue open after getting a stalebot warning, simply comment on it and it'll reset the clock. + ## Resources - [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)