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(repo): add close-stale-issues-prs workflow #838

Merged
merged 2 commits into from
Dec 4, 2022
Merged

Conversation

sebbel
Copy link
Collaborator

@sebbel sebbel commented Dec 4, 2022

In this PR, I add a new GitHub workflow that closes stale issues with no activity in 60 days and PR's with no activity in 20 days. I've also added custom messages for both the stale issues and stale pr.
The workfow runs on a schedule everyday at 6am UTC.

This PR closes Issue #829
By submitting this pull request, I confirm that my contribution is made under the terms of the
Monada Contribution License
.

@sebbel sebbel requested a review from a team as a code owner December 4, 2022 17:42
@ShaiBer
Copy link
Contributor

ShaiBer commented Dec 4, 2022

Thanks for contributing @sebbel🙏
Is there an option to give a warning first, and only close if there is inactivity for a week after?

@sebbel
Copy link
Collaborator Author

sebbel commented Dec 4, 2022

I think that's the default behaviour of the github action. It will mark the PR's issues as stale by adding a label.
I would need to adjust the message, we are adding to the issue/pr

Copy link
Contributor

@ShaiBer ShaiBer left a comment

Choose a reason for hiding this comment

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

Nice!

@ShaiBer ShaiBer merged commit d8f97fc into main Dec 4, 2022
@ShaiBer ShaiBer deleted the sebbel/close-stale branch December 4, 2022 18:11
@monadabot
Copy link
Contributor

Congrats! 🚀 This was released in Wing 0.3.11.

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