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 GitHub action to auto-close inactive issues #494

Merged
merged 1 commit into from
May 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/issue-management.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Close Stale Issues'

on:
schedule:
- cron: '0 10 * * 5' # Scheduled to run every Friday at 12pm CET

jobs:
stale-issue-handler:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Mark and close stale issues
uses: actions/stale@v9
with:
days-before-stale: 180
days-before-close: 0
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity for 6 months. It will be closed if no further activity occurs. Thank you for your contributions.'
close-issue-message: 'Closing this issue due to no activity for 6 months.'
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity for 6 months. It will be closed if no further activity occurs. Thank you for your contributions.'
close-pr-message: 'Closing this PR due to no activity for 6 months.'
Loading