-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: set up closing-inactive-issues in GitHub Action (#415) #428
ci: set up closing-inactive-issues in GitHub Action (#415) #428
Conversation
days-before-pr-stale: -1 | ||
days-before-pr-close: -1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-1
is set so this action does not apply to PR. We don't have to use it for PR, right?
days-before-issue-stale: 30 | ||
days-before-issue-close: 14 | ||
stale-issue-label: "stale" | ||
exempt-issue-labels: 'bug,enhancement' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issues labeled bug or enhancement are not target for this Action.
name: Close inactive issues | ||
on: | ||
schedule: | ||
- cron: "30 1 * * *" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will be executed daily at 1:30 (UTC).
@sashabaranov I gave it a shot. What do you think? |
@sashabaranov I want to try adding this GitHub Action. Would it be okay to merge it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR and sorry for taking so much time at looking into it!
Describe the change
Managing neglected issues manually proves to be an arduous issue. It is desirable to have a bot in place to automate the closure of such issues.
Describe your solution
Set up closing-inactive-issues in GitHub Action.
Refs: https://docs.github.com/en/github-ae@latest/actions/managing-issues-and-pull-requests/closing-inactive-issues
Tests
None
Additional context
Issue: #415