Skip to content

Commit

Permalink
Add GH Action to close stale issues
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Nov 11, 2022
1 parent 2826783 commit 6ad65f0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/stale.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Close stale issues'
on:
workflow_dispatch: null
schedule:
- cron: '0 0 * * *'

jobs:
stale:
permissions:
issues: write
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v6
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 7 days.'
stale-issue-label: 'wontfix'
exempt-issue-labels: 'help wanted'
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.'
days-before-issue-stale: 30
days-before-issue-close: 7

0 comments on commit 6ad65f0

Please sign in to comment.