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

chore: auto close stalled issues and prs #4547

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

doitian
Copy link
Member

@doitian doitian commented Jul 25, 2024

What problem does this PR solve?

Problem Summary: Too many inactive issues and prs

What is changed and how it works?

What's Changed: Stall issues after 30 days and close after 5 days. Stall prs after 45 days and close after 10 days.

Ref https://github.com/marketplace/actions/close-stale-issues

Check List

Tests

  • No code ci-runs-only: [ quick_checks,linters ]

Release note

None: Exclude this PR from the release note.

@doitian doitian requested a review from a team as a code owner July 25, 2024 01:12
@doitian doitian requested review from zhangsoledad and removed request for a team July 25, 2024 01:12
@chenyukang chenyukang added this pull request to the merge queue Jul 25, 2024
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
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
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment, otherwise, this issue will be closed in 5 days.'

- uses: actions/stale@v9
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
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
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment, otherwise, this PR will be closed in 10 days.'

@chenyukang chenyukang removed this pull request from the merge queue due to a manual request Jul 25, 2024
@doitian doitian added this pull request to the merge queue Jul 25, 2024
Merged via the queue into nervosnetwork:develop with commit 2857a26 Jul 25, 2024
34 checks passed
@doitian doitian deleted the auto-close-pr-issue branch October 11, 2024 00:14
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.

3 participants