Skip to content

Conversation

@GarethCabournDavies
Copy link
Contributor

This implements a new GitHub action to apply labels warning that a PR or issue is stale, and closes it automatically if nothing happens for a week after it has been labelled stale

I think I've set it so that we can apply bug or long term labels so that this won't happen.

Standard information about the request

This is a new feature for GitHub management
This change has been proposed using the contribution guidelines

Motivation

I want to reduce the number of issues, and this is the easiest way to do that, rather than commenting on each one asking for an update.

Contents

Add a GitHub workflow which uses the Close Stale Issues action to mark and close issues/PRs

Links to any issues or associated PRs

I could link all the issues and PRs older than a couple of months, but lets not do that for now.

Testing performed

None

  • The author of this pull request confirms they will adhere to the code of conduct

@GarethCabournDavies GarethCabournDavies added github_actions Pull requests that update GitHub Actions code code-quality Improvements to code quality labels Apr 28, 2025
@spxiwh
Copy link
Contributor

spxiwh commented Apr 29, 2025

This makes sense to me, but I'd like @ahnitz 's approval as well before merging.

@titodalcanton
Copy link
Contributor

I generally dislike this approach to issues, but will not oppose if there is consensus from others.

@ahnitz
Copy link
Member

ahnitz commented Apr 29, 2025

I think this is fine. The main issue is making sure people then add long-term labels to planning things and 'bug' as appropriate.

@spxiwh spxiwh requested a review from Copilot April 29, 2025 15:43
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a GitHub workflow to automatically mark stale issues and PRs, reducing backlog by closing those inactive for 60 days.

  • Adds a new GitHub action workflow using actions/stale@v9.
  • Configures exempt labels ("bug" and "long term") to prevent auto-closure of important items.

@GarethCabournDavies
Copy link
Contributor Author

I do see this as more a reminder to close if things are transient, or a kick to get things moving if it has just been delayed

Please approve or reject if we don't want this

@GarethCabournDavies
Copy link
Contributor Author

Ping on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-quality Improvements to code quality github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants