Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub: add actions/stale to keep the GitHub backlog tidy #18074

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

maxwxyz
Copy link
Collaborator

@maxwxyz maxwxyz commented Nov 22, 2024

Adding the actions/stale to help keep the GitHub repository organized and automatically identify/close stale issues.

Two actions to be implemented:

  1. Check for issues without any feedback (comment) in the last 90 days (confirmed bugs, high priority issues and feature requests are not touched by this) to check for relevance.
    This checks all issues but not the ones with the labels Status: Confirmed The issue was confirmed by others , Priority: High , Priority: Critical Needs a fix ASAP , Blocker Issue is a release blocker , Type: Feature FR for improvements or new features

  2. Check for issues where feedback was requested but no feedback was provided in the last 20 days
    This only checks on issues with the tags: Status: Needs feedback Missing required feedback from user or dev , Status: Needs test on dev version Missing test on the weekly version in safe mode , Status: Needs steps to reproduce Missing steps to reproduce or macro file

In both cases if an issue is considered stale it is automatically tagged Status: Stale Stale and might be closed automatically. and a comment is added asking for further feedback.

Hi! This issue hasn’t seen activity in a while. If it’s still relevant, please update to the latest FreeCAD weekly build download here to see if the problem is resolved.

If the issue persists, let us know by adding a comment with any updates or details. Otherwise, we’ll close this issue automatically in 20 days to keep our backlog tidy. Feel free to comment anytime to keep it open. Closed issues can always be reopened.
Thanks for helping improve FreeCAD!

Access additional FreeCAD resources:

If no follow up comment is provided in the following 20 days, the issue is automatically closed.
The action runs every day.

We could add other actions later on too.

@github-actions github-actions bot added the :octocat: label Nov 22, 2024
@maxwxyz
Copy link
Collaborator Author

maxwxyz commented Nov 22, 2024

@chennes @yorikvanhavre is this ok for you?
@luzpaz FYI

@chennes
Copy link
Member

chennes commented Nov 22, 2024

It's fine with me. We could consider a wider discussion at the next developer meeting.

@PaddleStroke
Copy link
Contributor

waiting for developer meeting discussion

@WandererFan
Copy link
Contributor

Paused waiting for Dec 1 dev meeting.

@chennes chennes merged commit 7b7db5b into FreeCAD:main Dec 2, 2024
10 checks passed
@maxwxyz maxwxyz deleted the stale-issue-action branch December 2, 2024 17:39
@VincidaB
Copy link
Contributor

VincidaB commented Dec 3, 2024

@chennes @maxwxyz
The action did not execute at midnight, shouldn't this be in the .github/worflows/ directory and not .github/ ?
and be a .yml file for consistency ?

@maxwxyz
Copy link
Collaborator Author

maxwxyz commented Dec 3, 2024

@VincidaB done: #18274

@marcuspollio
Copy link
Contributor

Hi @maxwxyz
Could we imagine a similar action for PR, with maybe a longer period ?
This may prevent/help to avoid some people from adding messages/pings that have no effect whatsoever...

@maxwxyz
Copy link
Collaborator Author

maxwxyz commented Dec 5, 2024

@marcuspollio some of the authors are currently away but plan to resolve it soon, maybe not close them automatically but just add a label?

@marcuspollio
Copy link
Contributor

marcuspollio commented Dec 5, 2024

Yes, the idea for PR would be about the same as for issues. After say 4-6 months of inactivity, send an automatic "Hi! This Pull Request hasn’t seen activity in a while..." and add some status. Then, after say 2-3 more months if not action or comment, close it.
The message could add some advice to keep the interest into the PR, like: rebase on latest main branch, ask for feedback from the community or maintainers, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants