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

ci: add workflow to close stale issues #2199

Merged
merged 11 commits into from May 5, 2024
Merged

Conversation

maschad
Copy link
Member

@maschad maschad commented Apr 29, 2024

Closes #2203

Introduces a workflow to clean up potentially stale issues / bugs raised where we need author input to progress.

This workflow requires two new labels need-author-input and stale

So the sequence of actions would be this:

  1. A user (whether code owner or not) creates an issue, no label is assigned to it.
  2. A code owner responds to that issue, but determines that more information is needed to proceed, they assign the need-author-input label
  3. Only one that need-author-input label has been assigned to the issue, the countdown (of 14 days in this case) begins, after 14 days the label stale is assigned to the issue and a generated warning is commented by the github bot that the issue will close in 7 days
  4. After 7 days of the issue being stale it is closed by the github bot.

.github/workflows/stale.yml Outdated Show resolved Hide resolved
.github/workflows/stale.yml Outdated Show resolved Hide resolved
@maschad maschad requested a review from arboleya April 30, 2024 18:59
@maschad maschad requested a review from arboleya May 1, 2024 19:23
danielbate
danielbate previously approved these changes May 2, 2024
.github/workflows/stale.yml Outdated Show resolved Hide resolved
@maschad maschad requested a review from arboleya May 2, 2024 21:32
Co-authored-by: Anderson Arboleya <[email protected]>
Copy link
Member

@arboleya arboleya left a comment

Choose a reason for hiding this comment

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

Thanks for the PR and adjustments! 🙌

Copy link
Contributor

@Torres-ssf Torres-ssf left a comment

Choose a reason for hiding this comment

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

🚀

@maschad maschad enabled auto-merge (squash) May 3, 2024 19:48
Copy link
Contributor

github-actions bot commented May 5, 2024

Coverage Report:

Lines Branches Functions Statements
79.53%(+0%) 69.28%(+0%) 77.43%(+0%) 79.65%(+0%)
Changed Files:

Coverage values did not change👌.

@maschad maschad merged commit e9ee1d0 into master May 5, 2024
19 checks passed
@maschad maschad deleted the ci/workflow-stale-issues branch May 5, 2024 23:28
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.

CI: Introduce workflow to ensure stale issues are closed
5 participants