-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add stale bot for old PRs #1186
Conversation
.github/workflows/stale.yaml
Outdated
with: | ||
close-pr-message: "This PR was closed because it has been stalled for 365 days with no activity. Feel free make a new PR if you wish to continue¶" | ||
days-before-pr-stale: 365 | ||
days-before-pr-close: 0 |
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.
I would prefer to use stale+close combination like 350+15 days, so people have time to renew it if needed.
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.
Sounds good! Added that.
.github/workflows/stale.yaml
Outdated
jobs: | ||
stale: | ||
runs-on: "ubuntu-latest" | ||
if: github.repository_owner == 'SchemaStore' |
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.
Wrong owner?
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.
Oops 😬
Co-authored-by: 罗泽轩 <[email protected]>
@hyperupcall |
This closes pull requests after 365 days.