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

GRAL-4409 added issue auto-close workflow #564

Merged
merged 3 commits into from
Aug 29, 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
19 changes: 19 additions & 0 deletions .github/workflows/auto-close-stale-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto-close stale issues

on:
schedule:
- cron: "0 7 * * 0" # Runs the action on Sundays at 7am UTC

jobs:
close-stale-issues:
runs-on: ubuntu-latest
steps:
- name: Close stale issues
uses: actions/stale@v5
with:
days-before-stale: 150 # 5 months
days-before-close: 30 # 30 days after marking stale (total of 6 months)
stale-issue-message: "This issue has been marked as stale due to inactivity. It will be closed in 30 days if no further activity occurs."
close-issue-message: "Closing this issue due to 6 months of inactivity."
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading