Repository navigation
ci: add stale bot workflow - #6290
Merged
Merged
Conversation
Warn and then automatically close issues and pull requests that have had no activity for a month. A warning is posted when an item becomes stale, and it is closed 7 days later if there is still no activity. Also creates the 'stale' label used by the workflow.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6290 +/- ##
=======================================
Coverage 91.80% 91.80%
=======================================
Files 113 113
Lines 44961 44961
=======================================
Hits 41278 41278
Misses 3683 3683 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a GitHub Actions workflow that warns and then automatically closes stale issues and pull requests.
Behavior
Runs daily (
cron) and can also be triggered manually (workflow_dispatch).staleand a warning comment is posted.remove-stale-when-updated: true), so active work is not touched.Status: in-progress,Status: blocked,Status: help-wanted(issues only), anddependencies(Dependabot PRs).Setup
This PR also relies on a
stalelabel (color#cfd3d4) which I created on the repo so the workflow functions correctly. Theactions/staleaction cannot apply a label that does not exist.Notes
actions/stale@v10.3.0by SHA, matching this repo's convention; Dependabot will bump it on its monthly schedule.days-before-stale/days-before-close) and the messages are easy to tweak in.github/workflows/stale.yml.