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

Add stale bot for old PRs #1186

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hyperupcall
Copy link
Collaborator

@hyperupcall hyperupcall commented Nov 29, 2024

This closes pull requests after 365 days.

steps:
- uses: "actions/stale@v9"
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¶"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
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"
close-pr-message: "This PR was closed because it has been stalled for 365 days with no activity. Feel free to make a new PR if you wish to continue"

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
Copy link
Collaborator

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.

jobs:
stale:
runs-on: "ubuntu-latest"
if: github.repository_owner == 'SchemaStore'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wrong owner?

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

Successfully merging this pull request may close these issues.

2 participants