-
Notifications
You must be signed in to change notification settings - Fork 60
infra: Autoclose stale PRs #1177
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
infra: Autoclose stale PRs #1177
Conversation
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.
Pull Request Overview
This PR adds a new step to automatically close stale pull requests after 30 days of inactivity. The changes include adding a new permission for pull-requests, configuring the actions/stale@v9 action with PR-specific parameters, and adding a comment notification when a PR is closed.
Comments suppressed due to low confidence (1)
.github/workflows/docs-cleanup.yml:24
- [nitpick] Consider renaming the workflow file or updating its identifier to reflect its updated responsibility (closing stale PRs) rather than just cleaning up docs.
jobs:
The created documentation from the pull request is available at: docu-html |
Close PRs older than 30 days. Signed-off-by: Nicolae Dicu <Nicolae.Dicu.ext@qorix.ai>
4333cc6
to
4d17039
Compare
I wanna look at current PRs before merging this, just a minute.... |
|
I'm not sure about the latest two. How about a warning at 30 and close at 40? |
Will do, I will mark the PRs as stale after 30 days and close after 10 more days of being stall. |
Add extra 10 days between PR is marked as stale and closure. Aplly also for drafts. Signed-off-by: Nicolae Dicu <Nicolae.Dicu.ext@qorix.ai>
Add a message warning about PR closure. Signed-off-by: Nicolae Dicu <Nicolae.Dicu.ext@qorix.ai>
68be9a1
to
83b7ff4
Compare
Close PRs older than 30 days.
Related: #1029