Skip to content

Add workflow to close "needs information" labeled issues #10986

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

Merged

Conversation

nicoddemus
Copy link
Member

This introduces a workflow to automatically close issues with the label status: needs information after a number of days of inactivity.

This work has been done manually for a number of years, but I think it is safe to close issues with this label automatically.

Not tested yet, but it is in debug-only mode so we can watch what it does before deciding to turn it on (however it needs to be in main for it to run).

Based off:

This introduces a workflow to automatically close issues with the label
`status: needs information` after a number of days of inactivity.

This work has been done manually for a number of years, but I think it is safe
to close issues with this label automatically.

Not tested yet, but it is in `debug-only` mode so we can watch what it does before
deciding to turn it on (however it needs to be in `main` for it to run).
- uses: actions/stale@v5
with:
debug-only: true
days-before-issue-stale: 14
Copy link
Member Author

Choose a reason for hiding this comment

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

I think it is possible to use -1 here, and then change days-before-issue-close to 14 or 21 for the issue to be closed straight away, without receiving a stale label.

@nicoddemus nicoddemus closed this May 11, 2023
@nicoddemus nicoddemus reopened this May 11, 2023
@nicoddemus nicoddemus merged commit 7840323 into pytest-dev:main May 11, 2023
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